Author: ed
Date: Sat Dec 10 18:11:06 2011
New Revision: 228394
URL: http://svn.freebsd.org/changeset/base/228394
Log:
Replace char copyright[] by static const char copyright[].
It seems the latter is used throughout the tree.
Modified:
head/usr.bin/find/main.c
head/usr.bin/lex/main.c
head/usr.sbin/mount_portalfs/mount_portalfs.c
Modified: head/usr.bin/find/main.c
==============================================================================
--- head/usr.bin/find/main.c Sat Dec 10 18:00:53 2011 (r228393)
+++ head/usr.bin/find/main.c Sat Dec 10 18:11:06 2011 (r228394)
@@ -31,7 +31,7 @@
*/
#ifndef lint
-char copyright[] =
+static const char copyright[] =
"@(#) Copyright (c) 1990, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
Modified: head/usr.bin/lex/main.c
==============================================================================
--- head/usr.bin/lex/main.c Sat Dec 10 18:00:53 2011 (r228393)
+++ head/usr.bin/lex/main.c Sat Dec 10 18:11:06 2011 (r228394)
@@ -27,7 +27,7 @@
*/
#ifndef lint
-char copyright[] =
+static const char copyright[] =
"@(#) Copyright (c) 1990 The Regents of the University of California.\n\
All rights reserved.\n";
#endif /* not lint */
Modified: head/usr.sbin/mount_portalfs/mount_portalfs.c
==============================================================================
--- head/usr.sbin/mount_portalfs/mount_portalfs.c Sat Dec 10 18:00:53
2011 (r228393)
+++ head/usr.sbin/mount_portalfs/mount_portalfs.c Sat Dec 10 18:11:06
2011 (r228394)
@@ -31,7 +31,7 @@
*/
#ifndef lint
-char copyright[] =
+static const char copyright[] =
"@(#) Copyright (c) 1992, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"