diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-04-17 05:41:27 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-04-17 05:41:27 +0000 |
commit | 64f078bc2086775d072db9ab67bc317f6acee7a1 (patch) | |
tree | f371f93ec4080b69b6119ba69dfd30f7b0799e6f /ext/dbm | |
parent | d480dde0f2072756f2dbda1038881458d415a882 (diff) | |
download | ruby-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.c | 2 |
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; |