From 5028a8e1b6f4d2848f93c36728b09b7a86304cca Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Tue, 23 Jan 2018 15:00:05 +0100 Subject: Fix sparse warnings: non-ANSI function declaration. Explicitly specify void when a function accepts no arguments. --- src/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index ae55e49..78f03d2 100644 --- a/src/utils.c +++ b/src/utils.c @@ -191,7 +191,7 @@ static struct group *gtable = NULL; /* Initial setup of the gid table */ static void -create_group_table() +create_group_table(void) { struct group *tmp; int count, index; @@ -249,7 +249,7 @@ static struct passwd *ptable = NULL; /* Initial setup of the passwd table */ static void -create_passwd_table() +create_passwd_table(void) { struct passwd *tmp; int count, index; -- cgit v1.2.1