Add __unused to the declaration of yyrcsid.
This commit is contained in:
parent
98c779ea35
commit
143c9ae267
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110482
@ -60,8 +60,9 @@ __FBSDID("$FreeBSD$");
|
|||||||
const char *banner[] =
|
const char *banner[] =
|
||||||
{
|
{
|
||||||
"#ifndef lint",
|
"#ifndef lint",
|
||||||
|
"#include <sys/cdefs.h>",
|
||||||
"static char const ",
|
"static char const ",
|
||||||
"yyrcsid[] = \"$FreeBSD$\";",
|
"yyrcsid[] __unused = \"$FreeBSD$\";",
|
||||||
"#endif",
|
"#endif",
|
||||||
"#include <stdlib.h>",
|
"#include <stdlib.h>",
|
||||||
"#define YYBYACC 1",
|
"#define YYBYACC 1",
|
||||||
|
Loading…
Reference in New Issue
Block a user