commit | 35c109fd8b9dc7f725a172dcbdf897c1f25d7bb9 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@osmocom.org> | Thu Nov 03 11:17:40 2022 +0100 |
committer | Harald Welte <laforge@osmocom.org> | Thu Nov 03 12:21:11 2022 +0100 |
tree | 3d5460563301dc4dcecc3b35f17c7b995dd108aa | |
parent | 4b77d42ea68ab7763f4967fbf7dd86979a513dc0 [diff] |
Support building with -Werror=strict-prototypes / -Werror=old-style-definition Unfortunately "-std=c99" is not sufficient to make gcc ignore code that uses constructs of earlier C standards, which were abandoned in C99. See https://lwn.net/ml/fedora-devel/Y1kvF35WozzGBpc8@redhat.com/ for some related discussion. Change-Id: I5ca56d885b5ce4d4c9f91ffc083c05a48d1306e4
diff --git a/src/trau/osmo_ortp.c b/src/trau/osmo_ortp.c index 5761d78..b681888 100644 --- a/src/trau/osmo_ortp.c +++ b/src/trau/osmo_ortp.c
@@ -262,7 +262,7 @@ return 0; } -static void create_payload_types() +static void create_payload_types(void) { PayloadType *pt;