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:
Dimitry Andric 2013-12-29 16:28:37 +00:00
parent 3d3e01a261
commit 2f01b471a8

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>