summaryrefslogtreecommitdiff
path: root/ext/etc/etc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-03 05:42:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-03 05:42:35 +0000
commit3051dabd08bb2c3c4a83393edd906744a9c36019 (patch)
treec86063b6ee5a192f5a8e39ababdf310e3016b1ad /ext/etc/etc.c
parent3dd092d0cef1e074486a04fc8c8d60350480ae33 (diff)
* ext/etc/extconf.rb (PW_UID2VAL, PW_GID2VAL): defaulted to conversion
from int, and sys/types.h needs to be included before grp.h. fixed: [ruby-dev:28938] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/etc/etc.c')
-rw-r--r--ext/etc/etc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/etc/etc.c b/ext/etc/etc.c
index 05d40ca..06ae842 100644
--- a/ext/etc/etc.c
+++ b/ext/etc/etc.c
@@ -483,7 +483,7 @@ static VALUE mEtc;
* Documented by mathew <meta@pobox.com>.
*/
void
-Init_etc()
+Init_etc(void)
{
mEtc = rb_define_module("Etc");