summaryrefslogtreecommitdiff
path: root/ext/etc/etc.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-19 03:58:57 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-19 03:58:57 +0000
commit33163ad123a14488cf163c274d1af56c8e5e7bcb (patch)
tree12198a7c64eeb738685ba20f555dde0587dc5782 /ext/etc/etc.c
parenta20ecf3be4aa83647f243ff29fa9d0b23a9b9b63 (diff)
* regparse.c, etc.: K&R to ANSI code cleanup patch from Stefan
Huehner <stefan at huehner.org>. [ruby-core:10543] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 5e15176..94c8b6b 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;