summaryrefslogtreecommitdiff
path: root/usr.bin/mail
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-06-06 13:13:39 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-06-06 13:13:39 +0000
commitf41337c1502b6e4b1c4ba070c977d107f87111ba (patch)
tree5d79001999101dcaf5568ec31535370c3e2fb701 /usr.bin/mail
parentf692ba071295cbc5a213d15ca20e5329ae31223d (diff)
downloadsrc-test-f41337c1502b6e4b1c4ba070c977d107f87111ba.tar.gz
src-test-f41337c1502b6e4b1c4ba070c977d107f87111ba.zip
Add const to the copyright variable
Bump WARNS to level 2
Notes
Notes: svn path=/head/; revision=284070
Diffstat (limited to 'usr.bin/mail')
-rw-r--r--usr.bin/mail/Makefile2
-rw-r--r--usr.bin/mail/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mail/Makefile b/usr.bin/mail/Makefile
index da3e4336b4c74..ea2338b3ddedf 100644
--- a/usr.bin/mail/Makefile
+++ b/usr.bin/mail/Makefile
@@ -11,7 +11,7 @@ EFILES= mail.rc
LINKS= ${BINDIR}/mail ${BINDIR}/Mail ${BINDIR}/mail ${BINDIR}/mailx
MLINKS= mail.1 Mail.1 mail.1 mailx.1
-WARNS?= 1
+WARNS?= 2
.PATH: ${.CURDIR}/misc
diff --git a/usr.bin/mail/main.c b/usr.bin/mail/main.c
index 31372d03d72dc..0699a5572a120 100644
--- a/usr.bin/mail/main.c
+++ b/usr.bin/mail/main.c
@@ -28,7 +28,7 @@
*/
#ifndef lint
-static char copyright[] =
+static const char copyright[] =
"@(#) Copyright (c) 1980, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */