diff options
author | Steve Price <steve@FreeBSD.org> | 1997-08-24 21:02:51 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1997-08-24 21:02:51 +0000 |
commit | fba1c154b289460fbbbfa7c2da35328882dbd595 (patch) | |
tree | 4542ac0e257b9dcc355baeddafdfb7a6165fad0e /sbin/mount_ifs/getmntopts.c | |
parent | 8ee0110a449904883ddcc5dea6f61a690bab1d5a (diff) | |
download | src-fba1c154b289460fbbbfa7c2da35328882dbd595.tar.gz src-fba1c154b289460fbbbfa7c2da35328882dbd595.zip |
Try to avoid mounting filesystems multiple times. Also while
I'm here do some -Wall cleaning.
PR: kern/1839
Reviewed and corrected by: joerg
Notes
Notes:
svn path=/head/; revision=28671
Diffstat (limited to 'sbin/mount_ifs/getmntopts.c')
-rw-r--r-- | sbin/mount_ifs/getmntopts.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/mount_ifs/getmntopts.c b/sbin/mount_ifs/getmntopts.c index f0cd27c058a7..733ef7f7acc9 100644 --- a/sbin/mount_ifs/getmntopts.c +++ b/sbin/mount_ifs/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; |