summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordavidc <davidc@FreeBSD.org>2003-02-08 17:23:22 +0000
committerdavidc <davidc@FreeBSD.org>2003-02-08 17:23:22 +0000
commitff5d2916db867d98eb5615a199d303420fc4176c (patch)
tree9c4fedc11aa626013c1fb2639aa1b7388d913b0b /usr.bin
parent912192732ebe88be5593c480245730dea382b9dd (diff)
downloadFreeBSD-src-ff5d2916db867d98eb5615a199d303420fc4176c.zip
FreeBSD-src-ff5d2916db867d98eb5615a199d303420fc4176c.tar.gz
Backout my previous commit as requested. This solution generates
parsers that are non-portable.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/yacc/skeleton.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/yacc/skeleton.c b/usr.bin/yacc/skeleton.c
index c8d705e..6beccf5 100644
--- a/usr.bin/yacc/skeleton.c
+++ b/usr.bin/yacc/skeleton.c
@@ -60,9 +60,8 @@ __FBSDID("$FreeBSD$");
const char *banner[] =
{
"#ifndef lint",
- "#include <sys/cdefs.h>",
"static char const ",
- "yyrcsid[] __unused = \"$FreeBSD$\";",
+ "yyrcsid[] = \"$FreeBSD$\";",
"#endif",
"#include <stdlib.h>",
"#define YYBYACC 1",
OpenPOWER on IntegriCloud