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/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'staging/time.c') diff --git a/staging/time.c b/staging/time.c index 4225b9e..5ad3658 100644 --- a/staging/time.c +++ b/staging/time.c @@ -24,7 +24,7 @@ // Additionally, measure the precision. // This function should be called upon program start. // -int check_timer() +int check_timer(void) { struct timespec res; int r; -- cgit v1.2.3-54-g00ecf