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.

MFC after:	3 days
This commit is contained in:
dim 2013-12-29 16:28:37 +00:00
parent 3e031c24bf
commit 7d3a725053

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>