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/cli.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'staging/cli.h') diff --git a/staging/cli.h b/staging/cli.h index bc2ab2c..1a0156f 100644 --- a/staging/cli.h +++ b/staging/cli.h @@ -79,10 +79,10 @@ int cli_debug; /////////////////////////////////////////////////////////////////////////////// // Prototypes -void mz_cli_init(); +void mz_cli_init(void); int cli_read_cfg(char *str); int mz_def16 (char *def, u_int16_t val, char *str256); -int cli(); +int cli(void); int debug_all (struct cli_def *cli, const char *command, char *argv[], int argc); int debug_packet (struct cli_def *cli, const char *command, char *argv[], int argc); -- cgit v1.2.3-54-g00ecf