From 8da50425fb2dac4ba5614877a685ae96d1c53c3d Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 20 Jan 1998 10:36:24 +0000 Subject: 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. --- lib/libc/gen/getvfsent.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/gen/getvfsent.c b/lib/libc/gen/getvfsent.c index d7a8633..469ef97 100644 --- a/lib/libc/gen/getvfsent.c +++ b/lib/libc/gen/getvfsent.c @@ -4,8 +4,6 @@ * This file is in the public domain. */ -#define _OLD_VFSCONF - #include #include #include @@ -19,6 +17,10 @@ #include #include +/* 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; -- cgit v1.1