From e9ef9e807a07a32027cede2ff9c63758a651032c Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 19 Mar 2007 03:58:57 +0000 Subject: * regparse.c, etc.: K&R to ANSI code cleanup patch from Stefan Huehner . [ruby-core:10543] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/etc/etc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ext/etc') diff --git a/ext/etc/etc.c b/ext/etc/etc.c index 5e15176b4..94c8b6b85 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; -- cgit