summaryrefslogtreecommitdiff
path: root/ext/racc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-01 07:58:09 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-01 07:58:09 (GMT)
commitd79c23b0db41e1a5568c9aba018136fc92f6caca (patch)
tree550f0ca70a1a1d2d9175d702b8d47ffd9b1af8f5 /ext/racc
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/racc')
-rw-r--r--ext/racc/cparse/cparse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/racc/cparse/cparse.c b/ext/racc/cparse/cparse.c
index 7ec12b9..314e6a3 100644
--- a/ext/racc/cparse/cparse.c
+++ b/ext/racc/cparse/cparse.c
@@ -167,6 +167,7 @@ static void parser_core _((struct cparse_params*, VALUE, VALUE, int));
static void extract_utok _((struct cparse_params*, VALUE, VALUE*, VALUE*));
static VALUE catch_iter _((VALUE));
static VALUE do_reduce _((VALUE, VALUE, VALUE));
+static VALUE call_scaniter _((VALUE));
#define REDUCE(v, act) \
@@ -282,8 +283,6 @@ catch_scaniter(arr, data, self)
return Qnil;
}
-static VALUE call_scaniter _((VALUE));
-
static void
wrap_yyparse(v)
struct cparse_params *v;