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/layer3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'staging/layer3.c') diff --git a/staging/layer3.c b/staging/layer3.c index d05aa3c..3eca55d 100644 --- a/staging/layer3.c +++ b/staging/layer3.c @@ -104,7 +104,7 @@ // Only used to simplify initialization of libnet // Return pointer to context -libnet_t* get_link_context() +libnet_t* get_link_context(void) { libnet_t * l; char errbuf[LIBNET_ERRBUF_SIZE]; -- cgit v1.2.3-54-g00ecf