summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-29 23:41:19 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-29 23:41:19 (GMT)
commit623cf29787e8c798f711622450c748ac65f22cea (patch)
tree6bbff67c36475d25c3f6a866a61c9cd8e61096f5 /template
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')
-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 0fc8fe8..848a29f 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);