diff options
author | bde <bde@FreeBSD.org> | 1998-01-20 10:36:42 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-01-20 10:36:42 +0000 |
commit | d40992eed703935d0806227d0513776856fad0a8 (patch) | |
tree | 5a1d222a131b6fd666f54f85933a266a569ef296 | |
parent | 8da50425fb2dac4ba5614877a685ae96d1c53c3d (diff) | |
download | FreeBSD-src-d40992eed703935d0806227d0513776856fad0a8.zip FreeBSD-src-d40992eed703935d0806227d0513776856fad0a8.tar.gz |
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.
-rw-r--r-- | sys/sys/mount.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 85d9ce6..bc9fda4 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 |