MFC r260040:

In sys/dev/mcd/mcd.c, mark the static const COPYRIGHT string as __used,
so it ends up in the object file, and no warnings are emitted about it
being actually unused.
This commit is contained in:
dim 2014-01-04 18:53:31 +00:00
parent a0f0f71f55
commit 98319f939f

View File

@ -44,7 +44,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
static const char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
static const char __used COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
#include <sys/param.h>
#include <sys/systm.h>