aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2022-11-03 11:17:40 +0100
committerHarald Welte <laforge@osmocom.org>2022-11-03 12:21:11 +0100
commit35c109fd8b9dc7f725a172dcbdf897c1f25d7bb9 (patch)
tree3d5460563301dc4dcecc3b35f17c7b995dd108aa
parent4b77d42ea68ab7763f4967fbf7dd86979a513dc0 (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
-rw-r--r--src/trau/osmo_ortp.c2
1 files changed, 1 insertions, 1 deletions
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 @@ static int osmo_rtp_socket_fdreg(struct osmo_rtp_socket *rs)
return 0;
}
-static void create_payload_types()
+static void create_payload_types(void)
{
PayloadType *pt;