svn commit: r260276 - in stable: 10/sys/dev/mcd 7/sys/dev/mcd 8/sys/dev/mcd 9/sys/dev/mcd
Dimitry Andric
dim at FreeBSD.org
Sat Jan 4 18:53:32 UTC 2014
Author: dim
Date: Sat Jan 4 18:53:31 2014
New Revision: 260276
URL: http://svnweb.freebsd.org/changeset/base/260276
Log:
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.
Modified:
stable/9/sys/dev/mcd/mcd.c
Directory Properties:
stable/9/sys/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/10/sys/dev/mcd/mcd.c
stable/7/sys/dev/mcd/mcd.c
stable/8/sys/dev/mcd/mcd.c
Directory Properties:
stable/10/ (props changed)
stable/7/sys/ (props changed)
stable/8/sys/ (props changed)
Modified: stable/9/sys/dev/mcd/mcd.c
==============================================================================
--- stable/9/sys/dev/mcd/mcd.c Sat Jan 4 18:48:29 2014 (r260275)
+++ stable/9/sys/dev/mcd/mcd.c Sat Jan 4 18:53:31 2014 (r260276)
@@ -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-stable-9
mailing list