ruby-changes:47950
From: nobu <ko1@a...>
Date: Sat, 30 Sep 2017 08:41:25 +0900 (JST)
Subject: [ruby-changes:47950] nobu:r60065 (trunk): sizes.c.tmpl: prototype
nobu 2017-09-30 08:41:19 +0900 (Sat, 30 Sep 2017) New Revision: 60065 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60065 Log: sizes.c.tmpl: prototype * template/sizes.c.tmpl (Init_limits): turned a K&R style declaration into a prototype declaration. Modified files: trunk/template/sizes.c.tmpl Index: template/sizes.c.tmpl =================================================================== --- template/sizes.c.tmpl (revision 60064) +++ template/sizes.c.tmpl (revision 60065) @@ -25,10 +25,10 @@ conditions = { https://github.com/ruby/ruby/blob/trunk/template/sizes.c.tmpl#L25 #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); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/