summaryrefslogtreecommitdiffstats
path: root/ext/dbm
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-17 05:41:27 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-17 05:41:27 +0000
commit64f078bc2086775d072db9ab67bc317f6acee7a1 (patch)
treef371f93ec4080b69b6119ba69dfd30f7b0799e6f /ext/dbm
parentd480dde0f2072756f2dbda1038881458d415a882 (diff)
downloadruby-64f078bc2086775d072db9ab67bc317f6acee7a1.tar.gz
ruby-64f078bc2086775d072db9ab67bc317f6acee7a1.tar.xz
ruby-64f078bc2086775d072db9ab67bc317f6acee7a1.zip
* 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
Diffstat (limited to 'ext/dbm')
-rw-r--r--ext/dbm/dbm.c2
1 files changed, 2 insertions, 0 deletions
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;