Add __unused to the declaration of yyrcsid in a more portable way.
Discussed with: alfred, bde, jmallett, obrien
This commit is contained in:
parent
e35647f735
commit
b3d002fa88
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user