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/mz.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'staging/mz.h') diff --git a/staging/mz.h b/staging/mz.h index d9ac716..ade4da3 100644 --- a/staging/mz.h +++ b/staging/mz.h @@ -521,7 +521,7 @@ int char2bits (char c, char *str); int mz_strcmp(char* usr, char* str, int min); int mz_tok(char * str, char * delim, int anz, ...); int delay_parse (struct timespec *t, char *a, char *b); -int reset(); +int reset(void); // ************************************ // -- cgit v1.2.3-54-g00ecf