Add __unused to the declaration of yyrcsid.

This commit is contained in:
Chad David 2003-02-07 03:39:27 +00:00
parent 98c779ea35
commit 143c9ae267
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110482

View File

@ -60,8 +60,9 @@ __FBSDID("$FreeBSD$");
const char *banner[] =
{
"#ifndef lint",
"#include <sys/cdefs.h>",
"static char const ",
"yyrcsid[] = \"$FreeBSD$\";",
"yyrcsid[] __unused = \"$FreeBSD$\";",
"#endif",
"#include <stdlib.h>",
"#define YYBYACC 1",