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.
This commit is contained in:
Bruce Evans 1998-01-20 10:36:24 +00:00
parent 3ae6029808
commit 2aeb5561dd
1 changed files with 4 additions and 2 deletions

View File

@ -4,8 +4,6 @@
* This file is in the public domain. * This file is in the public domain.
*/ */
#define _OLD_VFSCONF
#include <sys/param.h> #include <sys/param.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/mount.h> #include <sys/mount.h>
@ -19,6 +17,10 @@
#include <errno.h> #include <errno.h>
#include <paths.h> #include <paths.h>
/* XXX hide some compatibility problems. */
#undef getvfsbyname
#define vfsconf ovfsconf
#define _PATH_MODLOAD "/sbin/modload" /* XXX should be in header file */ #define _PATH_MODLOAD "/sbin/modload" /* XXX should be in header file */
static struct vfsconf *_vfslist = 0; static struct vfsconf *_vfslist = 0;