diff options
author | dim <dim@FreeBSD.org> | 2014-01-04 18:53:31 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-01-04 18:53:31 +0000 |
commit | 98319f939fcc064fd02c4aad006b5b794b6a454f (patch) | |
tree | c923ecdfc7b27460d109f451ace749cd59fa0cb0 | |
parent | a0f0f71f55640bcfee29760c8107e71b4b8b036f (diff) | |
download | FreeBSD-src-98319f939fcc064fd02c4aad006b5b794b6a454f.zip FreeBSD-src-98319f939fcc064fd02c4aad006b5b794b6a454f.tar.gz |
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.
-rw-r--r-- | sys/dev/mcd/mcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index 3e9617d..966acc2 100644 --- a/sys/dev/mcd/mcd.c +++ b/sys/dev/mcd/mcd.c @@ -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> |