aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-01-20 10:36:42 +0000
committerBruce Evans <bde@FreeBSD.org>1998-01-20 10:36:42 +0000
commitbf49c4278a6c3cc2b9792089339ae098707b239a (patch)
treef01a2adba2fa3200a19daf5e468f06aa48088bea
parent2aeb5561dd6bfdbe6a061916e75d7e7b1f02e259 (diff)
downloadsrc-bf49c4278a6c3cc2b9792089339ae098707b239a.tar.gz
src-bf49c4278a6c3cc2b9792089339ae098707b239a.zip
Moved most of the (source-level) compatibility hacks for the vfsconf
interface from sys/mount.h to libc/getvfsent.c The new interface is now the default. Sorted the prototypes for the library functions.
Notes
Notes: svn path=/head/; revision=32644
-rw-r--r--sys/sys/mount.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index 85d9ce633e29..bc9fda48581c 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)mount.h 8.21 (Berkeley) 5/20/95
- * $Id: mount.h,v 1.51 1997/11/22 06:18:54 bde Exp $
+ * $Id: mount.h,v 1.52 1997/11/25 07:07:47 julian Exp $
*/
#ifndef _SYS_MOUNT_H_
@@ -466,17 +466,13 @@ int statfs __P((const char *, struct statfs *));
int unmount __P((const char *, int));
/* C library stuff */
-#ifdef _NEW_VFSCONF
-#define getvfsbyname new_getvfsbyname
-int new_getvfsbyname __P((const char *, struct vfsconf *));
-#else
-#define vfsconf ovfsconf
+void endvfsent __P((void));
struct ovfsconf *getvfsbyname __P((const char *));
struct ovfsconf *getvfsbytype __P((int));
struct ovfsconf *getvfsent __P((void));
-#endif
+#define getvfsbyname new_getvfsbyname
+int new_getvfsbyname __P((const char *, struct vfsconf *));
void setvfsent __P((int));
-void endvfsent __P((void));
int vfsisloadable __P((const char *));
int vfsload __P((const char *));
__END_DECLS