summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-12-10 18:11:06 +0000
committered <ed@FreeBSD.org>2011-12-10 18:11:06 +0000
commitf559e163ab3d1116108b6178ddc228e7ede7d5f2 (patch)
treeee21ea261e6f79c5b8796a4805efb61d25a6b7bd /usr.bin
parent3e019e649fc7e7ea3b1d01c48abba3e55e74b449 (diff)
downloadFreeBSD-src-f559e163ab3d1116108b6178ddc228e7ede7d5f2.zip
FreeBSD-src-f559e163ab3d1116108b6178ddc228e7ede7d5f2.tar.gz
Replace char copyright[] by static const char copyright[].
It seems the latter is used throughout the tree.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/find/main.c2
-rw-r--r--usr.bin/lex/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c
index d901623..4f7064b 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 f6adaa7..a037ce9 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 */
OpenPOWER on IntegriCloud