summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@gmail.com>2018-01-23 15:00:05 +0100
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2018-01-23 15:00:05 +0100
commit5028a8e1b6f4d2848f93c36728b09b7a86304cca (patch)
treef05682e44a62f10577087d32c83e4802b1e6d2a1 /src/utils.c
parent82bb5be8b586e35db523b808913eea3d78331258 (diff)
Fix sparse warnings: non-ANSI function declaration.
Explicitly specify void when a function accepts no arguments.
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c4
1 files changed, 2 insertions, 2 deletions
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;