From 62b58a361fccec935d7940fb7ab86508ccdceb00 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 3 Sep 2014 16:55:59 +0200 Subject: 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 --- staging/mopsrx_arp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'staging/mopsrx_arp.c') diff --git a/staging/mopsrx_arp.c b/staging/mopsrx_arp.c index 0aac152..baf8133 100644 --- a/staging/mopsrx_arp.c +++ b/staging/mopsrx_arp.c @@ -26,7 +26,7 @@ // RETURN VALUE: 0 upon success, // 1 upon error. // -int mops_rx_arp () +int mops_rx_arp(void) { int i; -- cgit v1.2.3-54-g00ecf