Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Dec 2011 18:11:06 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228394 - in head: usr.bin/find usr.bin/lex usr.sbin/mount_portalfs
Message-ID:  <201112101811.pBAIB6fb016472@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sat Dec 10 18:11:06 2011
New Revision: 228394
URL: http://svn.freebsd.org/changeset/base/228394

Log:
  Replace char copyright[] by static const char copyright[].
  
  It seems the latter is used throughout the tree.

Modified:
  head/usr.bin/find/main.c
  head/usr.bin/lex/main.c
  head/usr.sbin/mount_portalfs/mount_portalfs.c

Modified: head/usr.bin/find/main.c
==============================================================================
--- head/usr.bin/find/main.c	Sat Dec 10 18:00:53 2011	(r228393)
+++ head/usr.bin/find/main.c	Sat Dec 10 18:11:06 2011	(r228394)
@@ -31,7 +31,7 @@
  */
 
 #ifndef lint
-char copyright[] =
+static const char copyright[] =
 "@(#) Copyright (c) 1990, 1993, 1994\n\
 	The Regents of the University of California.  All rights reserved.\n";
 #endif /* not lint */

Modified: head/usr.bin/lex/main.c
==============================================================================
--- head/usr.bin/lex/main.c	Sat Dec 10 18:00:53 2011	(r228393)
+++ head/usr.bin/lex/main.c	Sat Dec 10 18:11:06 2011	(r228394)
@@ -27,7 +27,7 @@
  */
 
 #ifndef lint
-char copyright[] =
+static const char copyright[] =
 "@(#) Copyright (c) 1990 The Regents of the University of California.\n\
  All rights reserved.\n";
 #endif /* not lint */

Modified: head/usr.sbin/mount_portalfs/mount_portalfs.c
==============================================================================
--- head/usr.sbin/mount_portalfs/mount_portalfs.c	Sat Dec 10 18:00:53 2011	(r228393)
+++ head/usr.sbin/mount_portalfs/mount_portalfs.c	Sat Dec 10 18:11:06 2011	(r228394)
@@ -31,7 +31,7 @@
  */
 
 #ifndef lint
-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 */



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