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:
parent
3ae6029808
commit
2aeb5561dd
@ -4,8 +4,6 @@
|
||||
* This file is in the public domain.
|
||||
*/
|
||||
|
||||
#define _OLD_VFSCONF
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/mount.h>
|
||||
@ -19,6 +17,10 @@
|
||||
#include <errno.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 */
|
||||
|
||||
static struct vfsconf *_vfslist = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user