svn commit: r260040 - head/sys/dev/mcd
Dimitry Andric
dim at FreeBSD.org
Sun Dec 29 16:28:38 UTC 2013
Author: dim
Date: Sun Dec 29 16:28:37 2013
New Revision: 260040
URL: http://svnweb.freebsd.org/changeset/base/260040
Log:
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
Modified:
head/sys/dev/mcd/mcd.c
Modified: head/sys/dev/mcd/mcd.c
==============================================================================
--- head/sys/dev/mcd/mcd.c Sun Dec 29 14:21:55 2013 (r260039)
+++ head/sys/dev/mcd/mcd.c Sun Dec 29 16:28:37 2013 (r260040)
@@ -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>
More information about the svn-src-head
mailing list