summaryrefslogtreecommitdiff
path: root/load.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-30 05:25:32 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-30 05:25:32 (GMT)
commit28b9f11d5a4b878adb50a3e5472ceea8c462ed4a (patch)
tree0089b9a1bce84d5ec72badeae44b4e08f08a9c33 /load.c
parentcf5450bb7c86c4eb83f0d468c73d987e4a3e7344 (diff)
protoize no-arguments functions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'load.c')
-rw-r--r--load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/load.c b/load.c
index e88abfb..3f5372c 100644
--- a/load.c
+++ b/load.c
@@ -1159,7 +1159,7 @@ rb_f_autoload_p(VALUE obj, VALUE sym)
}
void
-Init_load()
+Init_load(void)
{
#undef rb_intern
#define rb_intern(str) rb_intern2((str), strlen(str))