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/layer1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'staging/layer1.c') diff --git a/staging/layer1.c b/staging/layer1.c index f671bb5..a1ca417 100644 --- a/staging/layer1.c +++ b/staging/layer1.c @@ -30,7 +30,7 @@ #include "mz.h" #include "cli.h" -int send_eth() +int send_eth(void) { // Tasks: // 1. Check 'eth_src_txt' and 'eth_dst_txt' which contain either a MAC address or a keyword -- cgit v1.2.3-54-g00ecf