aboutsummaryrefslogtreecommitdiffstats
path: root/template
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
commit4c281c6f8ed53034da22064667b45e825be2b940 (patch)
tree6bbff67c36475d25c3f6a866a61c9cd8e61096f5 /template
parent682e39e08dcf4c8955b2d9bff5ffe3cadd1b460e (diff)
downloadruby-4c281c6f8ed53034da22064667b45e825be2b940.tar.gz
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 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);