summaryrefslogtreecommitdiffstats
path: root/sys/fs/msdosfs/msdosfsmount.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-03-03 17:36:11 +0000
committerbde <bde@FreeBSD.org>1997-03-03 17:36:11 +0000
commit1b71c44ec90a9cb3eb6ad56c2ac634eba72f6085 (patch)
tree20c66682f0f89f23f0c4601b084d5dfdf3588b9e /sys/fs/msdosfs/msdosfsmount.h
parent50810d80a2fea9e29ec5a07cce2d940955f0f65b (diff)
downloadFreeBSD-src-1b71c44ec90a9cb3eb6ad56c2ac634eba72f6085.zip
FreeBSD-src-1b71c44ec90a9cb3eb6ad56c2ac634eba72f6085.tar.gz
Don't export kernel interfaces to applications. msdosfs_mount probably
didn't compile before this change. Added idempotency ifdef.
Diffstat (limited to 'sys/fs/msdosfs/msdosfsmount.h')
-rw-r--r--sys/fs/msdosfs/msdosfsmount.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/fs/msdosfs/msdosfsmount.h b/sys/fs/msdosfs/msdosfsmount.h
index 1c316e3..0ab41b4 100644
--- a/sys/fs/msdosfs/msdosfsmount.h
+++ b/sys/fs/msdosfs/msdosfsmount.h
@@ -1,4 +1,4 @@
-/* $Id$ */
+/* $Id: msdosfsmount.h,v 1.10 1997/02/22 09:40:49 peter Exp $ */
/* $NetBSD: msdosfsmount.h,v 1.7 1994/08/21 18:44:17 ws Exp $ */
/*-
@@ -48,6 +48,11 @@
* October 1992
*/
+#ifndef _MSDOSFS_MSDOSFSMOUNT_H_
+#define _MSDOSFS_MSDOSFSMOUNT_H_
+
+#ifdef KERNEL
+
/*
* Layout of the mount control block for a msdos file system.
*/
@@ -170,6 +175,8 @@ struct msdosfsmount {
int msdosfs_init __P((struct vfsconf *vfsp));
+#endif /* KERNEL */
+
/*
* Arguments to mount MSDOS filesystems.
*/
@@ -181,3 +188,4 @@ struct msdosfs_args {
mode_t mask; /* mask to be applied for msdosfs perms */
};
+#endif /* !_MSDOSFS_MSDOSFSMOUNT_H_ */
OpenPOWER on IntegriCloud