From ee77308b50de6b9715e3de811dd76ec0868bf46c Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 4 Jan 2014 18:53:31 +0000 Subject: 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. --- sys/dev/mcd/mcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev') diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index 86e40c474436..b6d91e1bb239 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 -- cgit v1.3