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/cdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'staging/cdp.c') diff --git a/staging/cdp.c b/staging/cdp.c index d198d96..feabf9a 100644 --- a/staging/cdp.c +++ b/staging/cdp.c @@ -159,7 +159,7 @@ unsigned int create_tlv (u_int16_t type, // The 16-bit TYPE number -int send_cdp () +int send_cdp(void) { libnet_t *l; libnet_ptag_t t; -- cgit v1.2.3-54-g00ecf