summaryrefslogtreecommitdiff
path: root/template/sizes.c.tmpl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-29 23:41:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-29 23:41:19 +0000
commit623cf29787e8c798f711622450c748ac65f22cea (patch)
tree6bbff67c36475d25c3f6a866a61c9cd8e61096f5 /template/sizes.c.tmpl
parentda7303e53743e32fa35b8133246558ff2759d913 (diff)
sizes.c.tmpl: prototype
* template/sizes.c.tmpl (Init_limits): turned a K&R style declaration into a prototype declaration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template/sizes.c.tmpl')
-rw-r--r--template/sizes.c.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/sizes.c.tmpl b/template/sizes.c.tmpl
index 0fc8fe8218..848a29f4be 100644
--- a/template/sizes.c.tmpl
+++ b/template/sizes.c.tmpl
@@ -25,10 +25,10 @@ conditions = {
#endif
% end
+extern void Init_limits(void);
void
Init_sizeof(void)
{
- extern void Init_limits();
VALUE s = rb_hash_new();
rb_define_const(rb_define_module("RbConfig"), "SIZEOF", s);