summaryrefslogtreecommitdiffstats
path: root/bin/chflags/chflags.c
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1998-12-06 22:58:23 +0000
committerarchie <archie@FreeBSD.org>1998-12-06 22:58:23 +0000
commit167c036e91fb24a62d627d16a2f3afa6d875c9e2 (patch)
treee40a696092a51458b052ff258b3700d51fc2ca09 /bin/chflags/chflags.c
parent3f56407712318be6faa0b98ad8db4b5a83ef4c93 (diff)
downloadFreeBSD-src-167c036e91fb24a62d627d16a2f3afa6d875c9e2.zip
FreeBSD-src-167c036e91fb24a62d627d16a2f3afa6d875c9e2.tar.gz
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
Diffstat (limited to 'bin/chflags/chflags.c')
-rw-r--r--bin/chflags/chflags.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/chflags/chflags.c b/bin/chflags/chflags.c
index f33f46e..6646094 100644
--- a/bin/chflags/chflags.c
+++ b/bin/chflags/chflags.c
@@ -32,13 +32,13 @@
*/
#ifndef lint
-static 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 */
#ifndef lint
-static char sccsid[] = "@(#)chflags.c 8.5 (Berkeley) 4/1/94";
+static const char sccsid[] = "@(#)chflags.c 8.5 (Berkeley) 4/1/94";
#endif /* not lint */
#include <sys/types.h>
OpenPOWER on IntegriCloud