Author: bapt
Date: Sat Jun  6 13:13:39 2015
New Revision: 284070
URL: https://svnweb.freebsd.org/changeset/base/284070

Log:
  Add const to the copyright variable
  Bump WARNS to level 2

Modified:
  head/usr.bin/mail/Makefile
  head/usr.bin/mail/main.c

Modified: head/usr.bin/mail/Makefile
==============================================================================
--- head/usr.bin/mail/Makefile  Sat Jun  6 13:09:49 2015        (r284069)
+++ head/usr.bin/mail/Makefile  Sat Jun  6 13:13:39 2015        (r284070)
@@ -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
 

Modified: head/usr.bin/mail/main.c
==============================================================================
--- head/usr.bin/mail/main.c    Sat Jun  6 13:09:49 2015        (r284069)
+++ head/usr.bin/mail/main.c    Sat Jun  6 13:13:39 2015        (r284070)
@@ -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 */
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to