diff options
author | steve <steve@FreeBSD.org> | 1997-08-24 21:02:51 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1997-08-24 21:02:51 +0000 |
commit | 99d48d545adcc46707f43d98599d352fe3c16792 (patch) | |
tree | 93034739ccfce81f14e603ef907382b7f42b847e /sbin/mount/vfslist.c | |
parent | 30f7c300787da5cd36c457b534171c77ea9ea74d (diff) | |
download | FreeBSD-src-99d48d545adcc46707f43d98599d352fe3c16792.zip FreeBSD-src-99d48d545adcc46707f43d98599d352fe3c16792.tar.gz |
Try to avoid mounting filesystems multiple times. Also while
I'm here do some -Wall cleaning.
PR: kern/1839
Reviewed and corrected by: joerg
Diffstat (limited to 'sbin/mount/vfslist.c')
-rw-r--r-- | sbin/mount/vfslist.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sbin/mount/vfslist.c b/sbin/mount/vfslist.c index 1a00a23..15edaf3 100644 --- a/sbin/mount/vfslist.c +++ b/sbin/mount/vfslist.c @@ -1,4 +1,4 @@ -/* +/*- * Copyright (c) 1995 * The Regents of the University of California. All rights reserved. * @@ -32,15 +32,21 @@ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)vfslist.c 8.1 (Berkeley) 5/8/95"; +#else +static const char rcsid[] = + "$Id$"; +#endif #endif /* not lint */ +#include <err.h> #include <stdlib.h> #include <string.h> #include <unistd.h> -int checkvfsname __P((const char *, const char **)); -const char **makevfslist __P((char *)); +#include "extern.h" + static int skipvfs; int |