Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/byacc/dist move the declaration below the renam...
details: https://anonhg.NetBSD.org/src/rev/2ce7301c5da5
branches: trunk
changeset: 748616:2ce7301c5da5
user: christos <christos%NetBSD.org@localhost>
date: Thu Oct 29 02:02:04 2009 +0000
description:
move the declaration below the rename defines.
diffstat:
external/bsd/byacc/dist/skeleton.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r c32e3c30f307 -r 2ce7301c5da5 external/bsd/byacc/dist/skeleton.c
--- a/external/bsd/byacc/dist/skeleton.c Thu Oct 29 01:52:39 2009 +0000
+++ b/external/bsd/byacc/dist/skeleton.c Thu Oct 29 02:02:04 2009 +0000
@@ -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",
Home |
Main Index |
Thread Index |
Old Index