Module Name: src
Committed By: christos
Date: Thu Oct 29 02:02:04 UTC 2009
Modified Files:
src/external/bsd/byacc/dist: skeleton.c
Log Message:
move the declaration below the rename defines.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/byacc/dist/skeleton.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/byacc/dist/skeleton.c
diff -u src/external/bsd/byacc/dist/skeleton.c:1.3 src/external/bsd/byacc/dist/skeleton.c:1.4
--- src/external/bsd/byacc/dist/skeleton.c:1.3 Wed Oct 28 21:16:51 2009
+++ src/external/bsd/byacc/dist/skeleton.c Wed Oct 28 22:02:04 2009
@@ -1,10 +1,10 @@
-/* $NetBSD: skeleton.c,v 1.3 2009/10/29 01:16:51 christos Exp $ */
+/* $NetBSD: skeleton.c,v 1.4 2009/10/29 02:02:04 christos Exp $ */
/* Id: skeleton.c,v 1.19 2008/12/24 14:52:28 tom Exp */
#include "defs.h"
#include <sys/cdefs.h>
-__RCSID("$NetBSD: skeleton.c,v 1.3 2009/10/29 01:16:51 christos Exp $");
+__RCSID("$NetBSD: skeleton.c,v 1.4 2009/10/29 02:02:04 christos Exp $");
/* The definition of yysccsid in the banner should be replaced with */
/* a #pragma ident directive if the target C compiler supports */
@@ -55,8 +55,6 @@
"#define YYPARSE_DECL() yyparse(void)",
"#endif /* YYPARSE_PARAM */",
"",
- "extern int YYPARSE_DECL();",
- "",
"static int yygrowstack(void);",
0
};
@@ -86,6 +84,8 @@
"#include <stdio.h>",
"#endif",
"",
+ "extern int YYPARSE_DECL();",
+ "",
"/* define the initial stack-sizes */",
"#ifdef YYSTACKSIZE",
"#undef YYMAXDEPTH",