diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-04-01 07:58:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-04-01 07:58:09 +0000 |
commit | 4f29b88c5820e0067f2c634ce1d73b5077ba050d (patch) | |
tree | 550f0ca70a1a1d2d9175d702b8d47ffd9b1af8f5 /ext/sdbm | |
parent | 58f974d2a0acbead18cf8b38220d5160f7dfcc19 (diff) | |
download | ruby-4f29b88c5820e0067f2c634ce1d73b5077ba050d.tar.gz ruby-4f29b88c5820e0067f2c634ce1d73b5077ba050d.tar.xz ruby-4f29b88c5820e0067f2c634ce1d73b5077ba050d.zip |
* ext/sdbm/init.c (each_pair): moved prototype before the
definition.
* ext/racc/cparse/cparse.c (call_scaniter): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/sdbm')
-rw-r--r-- | ext/sdbm/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sdbm/init.c b/ext/sdbm/init.c index c5d20bf98..280637aa2 100644 --- a/ext/sdbm/init.c +++ b/ext/sdbm/init.c @@ -399,6 +399,8 @@ fsdbm_invert(obj) return hash; } +static VALUE each_pair _((VALUE)); + static VALUE each_pair(obj) VALUE obj; @@ -420,8 +422,6 @@ update_i(pair, dbm) return Qnil; } -static VALUE each_pair _((VALUE)); - static VALUE fsdbm_update(obj, other) VALUE obj, other; |