[PATCH] sbin/mount_cd9660 WARNS=6 cleanup
Peter Schuller
peter.schuller at infidyne.com
Fri Apr 1 14:56:19 PST 2005
Attached.
--
/ Peter Schuller, InfiDyne Technologies HB
PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller at xxxxxxxxxxxx>'
Key retrieval: Send an E-Mail to getpgpkey at xxxxxxxxx
E-Mail: peter.schuller at xxxxxxxxxxxx Web: http://www.scode.org
--- sbin/mount_cd9660/Makefile.orig 2005-04-01 14:52:31.000000000 +0000
+++ sbin/mount_cd9660/Makefile 2005-04-01 14:52:48.000000000 +0000
@@ -2,6 +2,7 @@
# $FreeBSD: src/sbin/mount_cd9660/Makefile,v 1.4.6.1 2001/04/25 10:58:34 ru Exp $
# $DragonFly: src/sbin/mount_cd9660/Makefile,v 1.2 2003/06/17 04:27:33 dillon Exp $
+WARNS?= 6
PROG= mount_cd9660
SRCS= mount_cd9660.c getmntopts.c
MAN= mount_cd9660.8
--- sbin/mount_cd9660/mount_cd9660.c.orig 2005-04-01 14:52:31.000000000 +0000
+++ sbin/mount_cd9660/mount_cd9660.c 2005-04-01 14:54:09.000000000 +0000
@@ -67,11 +67,11 @@
{ "rrip", 1, ISOFSMNT_NORRIP, 1 },
{ "joliet", 1, ISOFSMNT_NOJOLIET, 1 },
{ "strictjoliet", 1, ISOFSMNT_BROKENJOLIET, 1 },
- { NULL }
+ MOPT_NULL
};
-int get_ssector(const char *dev);
-void usage(void);
+static int get_ssector(const char *dev);
+static void usage(void);
int
main(int argc, char **argv)
@@ -176,7 +176,7 @@
exit(0);
}
-void
+static void
usage(void)
{
fprintf(stderr,
@@ -184,7 +184,7 @@
exit(EX_USAGE);
}
-int
+static int
get_ssector(const char *dev)
{
struct ioc_toc_header h;
More information about the Submit
mailing list