Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 03:15:40 +0200 (CEST)
From:      Dan Lukes <dan@obluda.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/39867: cleaning sbin/mount_cd9660 and sbin/mount_ext2fs code from warnings
Message-ID:  <200206260115.g5Q1FemO057794@obluda.cz>

next in thread | raw e-mail | index | archive | help


>Number:         39867
>Category:       bin
>Synopsis:       cleaning sbin/mount_cd9660 and sbin/mount_ext2fs code from warnings
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 25 18:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dan Lukes
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Obludarium
>Environment:
System: FreeBSD xkulesh.vol.cz 4.6-STABLE FreeBSD
src/sbin/mount_cd9660/mount_cd9660.c,v 1.15.2.3 2001/03/14 12:05:01

>Description:

sbin/mount_cd9660/mount_cd9660.c:42: warning: `copyright' defined but not used
sbin/mount_ext2fs/mount_ext2fs.c:35: warning: `copyright' defined but not used
  'const' keyword resolve it

>How-To-Repeat:
        N/A
>Fix:

--- sbin/dump/mount_cd9660.c.ORIG Sun Mar 18 22:40:49 2001
+++ sbin/dump/mount_cd9660.c      Wed Jun 26 03:02:02 2002
@@ -39,7 +39,7 @@
  */
 #ifndef lint
-static 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 */
--- mount_ext2fs.c.ORIG Sat Oct  9 13:54:09 1999
+++ mount_ext2fs.c      Wed Jun 26 03:05:13 2002
@@ -32,7 +32,7 @@
  */
 #ifndef lint
-static char copyright[] =
+static const char copyright[] =
 "@(#) Copyright (c) 1993, 1994\n\
        The Regents of the University of California.  All rights reserved.\n";
 #endif /* not lint */
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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