From 64f078bc2086775d072db9ab67bc317f6acee7a1 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: http://svn.ruby-lang.org/repos/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 ad8458964..6eb7cfcd2 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