summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/metaentry.c4
-rw-r--r--src/utils.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/metaentry.c b/src/metaentry.c
index c33d7e2..55bd1ac 100644
--- a/src/metaentry.c
+++ b/src/metaentry.c
@@ -74,7 +74,7 @@ mentry_free(struct metaentry *m)
/* Allocates an empty metahash table */
static struct metahash *
-mhash_alloc()
+mhash_alloc(void)
{
struct metahash *mhash;
mhash = xmalloc(sizeof(struct metahash));
@@ -97,7 +97,7 @@ hash(const char *str)
/* Allocates an empty metaentry */
static struct metaentry *
-mentry_alloc()
+mentry_alloc(void)
{
struct metaentry *mentry;
mentry = xmalloc(sizeof(struct metaentry));
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;