aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-12-10 18:11:06 +0000
committerEd Schouten <ed@FreeBSD.org>2011-12-10 18:11:06 +0000
commit516c8ed9dda79fcf5ffd9b899b13d21551dd467b (patch)
treeee21ea261e6f79c5b8796a4805efb61d25a6b7bd
parent96b38ade366a4ad8559267afe795d1e1bd71d2f3 (diff)
downloadsrc-516c8ed9dda79fcf5ffd9b899b13d21551dd467b.tar.gz
src-516c8ed9dda79fcf5ffd9b899b13d21551dd467b.zip
Replace char copyright[] by static const char copyright[].
It seems the latter is used throughout the tree.
Notes
Notes: svn path=/head/; revision=228394
-rw-r--r--usr.bin/find/main.c2
-rw-r--r--usr.bin/lex/main.c2
-rw-r--r--usr.sbin/mount_portalfs/mount_portalfs.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c
index d901623d47b4..4f7064b07c30 100644
--- a/usr.bin/find/main.c
+++ b/usr.bin/find/main.c
@@ -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 */
diff --git a/usr.bin/lex/main.c b/usr.bin/lex/main.c
index f6adaa7c41c1..a037ce965903 100644
--- a/usr.bin/lex/main.c
+++ b/usr.bin/lex/main.c
@@ -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 */
diff --git a/usr.sbin/mount_portalfs/mount_portalfs.c b/usr.sbin/mount_portalfs/mount_portalfs.c
index 3c37b95657c1..f4f53138a248 100644
--- a/usr.sbin/mount_portalfs/mount_portalfs.c
+++ b/usr.sbin/mount_portalfs/mount_portalfs.c
@@ -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 */