laforge has uploaded this change for review.
Support building with -Werror=strict-prototypes / -Werror=old-style-definition
Unfortunately "-std=c99" is not sufficient to make gcc ignore cold 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
---
M src/trau/osmo_ortp.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/76/29976/1
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;
To view, visit change 29976. To unsubscribe, or for help writing mail filters, visit settings.