summaryrefslogtreecommitdiffstats
path: root/sbin/mount/getmntopts.c
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1997-08-24 21:02:51 +0000
committersteve <steve@FreeBSD.org>1997-08-24 21:02:51 +0000
commit99d48d545adcc46707f43d98599d352fe3c16792 (patch)
tree93034739ccfce81f14e603ef907382b7f42b847e /sbin/mount/getmntopts.c
parent30f7c300787da5cd36c457b534171c77ea9ea74d (diff)
downloadFreeBSD-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/getmntopts.c')
-rw-r--r--sbin/mount/getmntopts.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/mount/getmntopts.c b/sbin/mount/getmntopts.c
index f0cd27c..733ef7f 100644
--- a/sbin/mount/getmntopts.c
+++ b/sbin/mount/getmntopts.c
@@ -32,7 +32,12 @@
*/
#ifndef lint
+#if 0
static char sccsid[] = "@(#)getmntopts.c 8.3 (Berkeley) 3/29/95";
+#else
+static const char rcsid[] =
+ "$Id$";
+#endif
#endif /* not lint */
#include <sys/param.h>
@@ -44,6 +49,7 @@ static char sccsid[] = "@(#)getmntopts.c 8.3 (Berkeley) 3/29/95";
#include <stdlib.h>
#include <string.h>
+#include "extern.h"
#include "mntopts.h"
int getmnt_silent = 0;
OpenPOWER on IntegriCloud