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>
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to