summaryrefslogtreecommitdiff
path: root/staging/rcv_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/rcv_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/rcv_rtp.c')
-rw-r--r--staging/rcv_rtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/staging/rcv_rtp.c b/staging/rcv_rtp.c
index 336a6e0..0a91155 100644
--- a/staging/rcv_rtp.c
+++ b/staging/rcv_rtp.c
@@ -40,7 +40,7 @@
#include "mops.h"
// Initialize the rcv_rtp process: Read user parameters and initialize globals
-int rcv_rtp_init()
+int rcv_rtp_init(void)
{
char argval[MAX_PAYLOAD_SIZE];
char dummy[512];
@@ -281,7 +281,7 @@ int rcv_rtp_init()
////////////////////////////////////////////////////////////////////////////////////////////
//
// Defines the pcap handler and the callback function
-int rcv_rtp()
+int rcv_rtp(void)
{
char errbuf[PCAP_ERRBUF_SIZE];