[PATCH] sbin/mount_union WARNS=6 cleanup
Peter Schuller
peter.schuller at infidyne.com
Fri Apr 1 14:59:09 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_union/Makefile.orig 2005-04-01 14:56:03.000000000 +0000
+++ sbin/mount_union/Makefile 2005-04-01 14:56:22.000000000 +0000
@@ -2,6 +2,7 @@
# $FreeBSD: src/sbin/mount_union/Makefile,v 1.6.6.1 2001/04/25 10:58:40 ru Exp $
# $DragonFly: src/sbin/mount_union/Makefile,v 1.2 2003/06/17 04:27:33 dillon Exp $
+WARNS?= 6
PROG= mount_union
SRCS= mount_union.c getmntopts.c
MAN= mount_union.8
--- sbin/mount_union/mount_union.c.orig 2005-04-01 14:56:03.000000000 +0000
+++ sbin/mount_union/mount_union.c 2005-04-01 14:57:05.000000000 +0000
@@ -55,7 +55,7 @@
static struct mntopt mopts[] = {
MOPT_STDOPTS,
- { NULL }
+ MOPT_NULL
};
static int subdir(const char *, const char *);
@@ -122,7 +122,7 @@
exit(0);
}
-int
+static int
subdir(const char *p, const char *dir)
{
int l;
@@ -137,7 +137,7 @@
return (0);
}
-void
+static void
usage(void)
{
fprintf(stderr,
More information about the Submit
mailing list