summaryrefslogtreecommitdiff
path: root/ext/sdbm
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-01 07:58:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-01 07:58:09 +0000
commitd79c23b0db41e1a5568c9aba018136fc92f6caca (patch)
tree550f0ca70a1a1d2d9175d702b8d47ffd9b1af8f5 /ext/sdbm
parent1550277b3458f2981dac537bd55ee52f5ad5b0e3 (diff)
* ext/sdbm/init.c (each_pair): moved prototype before the
definition. * ext/racc/cparse/cparse.c (call_scaniter): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/sdbm')
-rw-r--r--ext/sdbm/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sdbm/init.c b/ext/sdbm/init.c
index c5d20bf..280637a 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;