summaryrefslogtreecommitdiff
path: root/ext/etc/etc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/etc/etc.c')
-rw-r--r--ext/etc/etc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/etc/etc.c b/ext/etc/etc.c
index 5e15176b4e..94c8b6b85f 100644
--- a/ext/etc/etc.c
+++ b/ext/etc/etc.c
@@ -164,14 +164,14 @@ etc_getpwnam(VALUE obj, VALUE nam)
#ifdef HAVE_GETPWENT
static int passwd_blocking = 0;
static VALUE
-passwd_ensure()
+passwd_ensure(void)
{
passwd_blocking = Qfalse;
return Qnil;
}
static VALUE
-passwd_iterate()
+passwd_iterate(void)
{
struct passwd *pw;
@@ -368,14 +368,14 @@ etc_getgrnam(VALUE obj, VALUE nam)
#ifdef HAVE_GETGRENT
static int group_blocking = 0;
static VALUE
-group_ensure()
+group_ensure(void)
{
group_blocking = Qfalse;
return Qnil;
}
static VALUE
-group_iterate()
+group_iterate(void)
{
struct group *pw;