From 32a59c73129e931a275a99e2a60ff29ba5464708 Mon Sep 17 00:00:00 2001 From: dim Date: Sat, 4 Jan 2014 18:53:31 +0000 Subject: [PATCH] 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. git-svn-id: svn://svn.freebsd.org/base/stable/8@260276 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/dev/mcd/mcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index 86e40c474..b6d91e1bb 100644 --- a/sys/dev/mcd/mcd.c +++ b/sys/dev/mcd/mcd.c @@ -44,7 +44,7 @@ #include __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 #include -- 2.45.0