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

Discussed with: alfred, bde, jmallett, obrien
This commit is contained in:
davidc 2003-02-12 18:03:55 +00:00
parent e35647f735
commit b3d002fa88

View File

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