Add __unused to the declaration of yyrcsid in a more portable way.

Discussed with: alfred, bde, jmallett, obrien
This commit is contained in:
Chad David 2003-02-12 18:03:55 +00:00
parent 96365d3dcf
commit c979c169a7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110767

View File

@ -59,11 +59,14 @@ __FBSDID("$FreeBSD$");
const char *banner[] = const char *banner[] =
{ {
"#include <stdlib.h>",
"#ifndef lint", "#ifndef lint",
"#ifdef __unused",
"__unused",
"#endif",
"static char const ", "static char const ",
"yyrcsid[] = \"$FreeBSD$\";", "yyrcsid[] = \"$FreeBSD$\";",
"#endif", "#endif",
"#include <stdlib.h>",
"#define YYBYACC 1", "#define YYBYACC 1",
"#define YYMAJOR 1", "#define YYMAJOR 1",
"#define YYMINOR 9", "#define YYMINOR 9",