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/automops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'staging/automops.c') diff --git a/staging/automops.c b/staging/automops.c index b465346..05fb7de 100644 --- a/staging/automops.c +++ b/staging/automops.c @@ -23,7 +23,7 @@ // Creates first element, aka "head" element // This element can also be used! See automops_alloc_protocol! // -struct automops * automops_init() +struct automops * automops_init(void) { // Create initial automops element: struct automops *new_automops = (struct automops*) malloc(sizeof(struct automops)); -- cgit v1.2.3-54-g00ecf