summaryrefslogtreecommitdiffstats
path: root/sbin/ping6
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2005-01-08 22:56:08 +0000
committertrhodes <trhodes@FreeBSD.org>2005-01-08 22:56:08 +0000
commit933fbb02e8b9e60a302307e0944a52c2473a908f (patch)
tree5800e0b715f445a3016fbf95cb5e14a65a0d058f /sbin/ping6
parent037a851d920060ee5cb8fdc3961da00bb06053bf (diff)
downloadFreeBSD-src-933fbb02e8b9e60a302307e0944a52c2473a908f.zip
FreeBSD-src-933fbb02e8b9e60a302307e0944a52c2473a908f.tar.gz
Use static const char and bump WARNS.
Diffstat (limited to 'sbin/ping6')
-rw-r--r--sbin/ping6/Makefile2
-rw-r--r--sbin/ping6/ping6.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ping6/Makefile b/sbin/ping6/Makefile
index 4e6da27..2d0cad4 100644
--- a/sbin/ping6/Makefile
+++ b/sbin/ping6/Makefile
@@ -5,7 +5,7 @@ MAN= ping6.8
CFLAGS+=-DINET6 -DIPSEC -DKAME_SCOPEID -DUSE_RFC2292BIS \
-DHAVE_POLL_H -DHAVE_ARC4RANDOM
-WARNS?= 0
+WARNS?= 2
BINOWN= root
BINMODE=4555
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c
index 07be95f..64f413f 100644
--- a/sbin/ping6/ping6.c
+++ b/sbin/ping6/ping6.c
@@ -68,7 +68,7 @@
*/
#ifndef lint
-static char copyright[] =
+static const char copyright[] =
"@(#) Copyright (c) 1989, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
OpenPOWER on IntegriCloud