From 1b71c44ec90a9cb3eb6ad56c2ac634eba72f6085 Mon Sep 17 00:00:00 2001 From: bde Date: Mon, 3 Mar 1997 17:36:11 +0000 Subject: Don't export kernel interfaces to applications. msdosfs_mount probably didn't compile before this change. Added idempotency ifdef. --- sys/msdosfs/msdosfsmount.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sys/msdosfs') diff --git a/sys/msdosfs/msdosfsmount.h b/sys/msdosfs/msdosfsmount.h index 1c316e3..0ab41b4 100644 --- a/sys/msdosfs/msdosfsmount.h +++ b/sys/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_ */ -- cgit v1.1