From e07677d30835819be5733ac53c118879ea10ac1b Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 17 Apr 2003 05:41:27 +0000 Subject: * ext/dbm/dbm.c (each_pair): add prototype to avoid VC++ warnings. * ext/readline/readline.c (Init_readline): follow readline 4.2 prototype. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/dbm/dbm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/dbm') diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c index ad84589640..6eb7cfcd20 100644 --- a/ext/dbm/dbm.c +++ b/ext/dbm/dbm.c @@ -405,6 +405,8 @@ fdbm_invert(obj) return hash; } +static VALUE each_pair _((VALUE)); + static VALUE each_pair(obj) VALUE obj; -- cgit v1.2.3