summaryrefslogtreecommitdiff
path: root/staging/rtp.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-09-03 16:55:59 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-09-03 16:55:59 +0200
commit62b58a361fccec935d7940fb7ab86508ccdceb00 (patch)
treece2b86398f9f9b96aea8c5268ab2e1db15bf8148 /staging/rtp.c
parent82042e7d91732ec0710c55358d86baafe24c4756 (diff)
mausezahn: Fix non-ANSI function declarations
ANSI C doesn't allow empty parameter list, thus use void where appropriate. This fixes the corresponding sparse warning. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'staging/rtp.c')
-rw-r--r--staging/rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/staging/rtp.c b/staging/rtp.c
index 6ce4458..54a195e 100644
--- a/staging/rtp.c
+++ b/staging/rtp.c
@@ -57,7 +57,7 @@
-int create_rtp_packet()
+int create_rtp_packet(void)
{
u_int8_t byte1, byte2;
u_int16_t seqnr;