diff options
author | bde <bde@FreeBSD.org> | 1997-03-03 13:08:33 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-03-03 13:08:33 +0000 |
commit | 1d929b9ddb6d46110e43b5c5688e3809d4b5dbc3 (patch) | |
tree | cc42b882c75a3b02804f99b919975336b4d8dd11 /lib/libc/gen/getvfsbyname.c | |
parent | 5fc94677bda468bbe12b8bcaf035aa45dd51e261 (diff) | |
download | FreeBSD-src-1d929b9ddb6d46110e43b5c5688e3809d4b5dbc3.zip FreeBSD-src-1d929b9ddb6d46110e43b5c5688e3809d4b5dbc3.tar.gz |
Enabled the Lite2 getvfsbyname(). It's actually named new_getvfsbyname()
for now so that we don't lose library compatibility. Applications should
define _NEW_VFSCONF and use getvfsbyname() instead of new_getvfsbyname()
if they want the new vfsconf interface. Parts of the old interface
(enough to load vfs modules, I hope) are still available.
Diffstat (limited to 'lib/libc/gen/getvfsbyname.c')
-rw-r--r-- | lib/libc/gen/getvfsbyname.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/gen/getvfsbyname.c b/lib/libc/gen/getvfsbyname.c index 9818bae..ae63bfe 100644 --- a/lib/libc/gen/getvfsbyname.c +++ b/lib/libc/gen/getvfsbyname.c @@ -32,17 +32,20 @@ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)kvm_getvfsbyname.c 8.1 (Berkeley) 4/3/95"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ +#define _NEW_VFSCONF #include <sys/param.h> #include <sys/mount.h> #include <sys/sysctl.h> #include <errno.h> #include <kvm.h> -int getvfsbyname __P((const char *, struct vfsconf *)); - /* * Given a filesystem name, determine if it is resident in the kernel, * and if it is resident, return its vfsconf structure. |