Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jun 2015 13:13:39 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r284070 - head/usr.bin/mail
Message-ID:  <201506061313.t56DDd0W036040@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506061313.t56DDd0W036040>