diff options
author | phk <phk@FreeBSD.org> | 2002-10-20 20:08:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-20 20:08:44 +0000 |
commit | f0693daa1f5896bbd37f2ad85ba732389ac99646 (patch) | |
tree | 53de658b9779547539b82a0665656c12d3271da0 /sys | |
parent | 8bb7766bd681e0b07de1d3ebf8431708106f4279 (diff) | |
download | FreeBSD-src-f0693daa1f5896bbd37f2ad85ba732389ac99646.zip FreeBSD-src-f0693daa1f5896bbd37f2ad85ba732389ac99646.tar.gz |
The g_id*() functions are not needed in the userland test-suite so
#ifdef _KERNEL them rather than deal with a copyin simulation.
Sponsored by: DARPA & NAI Labs
Diffstat (limited to 'sys')
-rw-r--r-- | sys/geom/geom_subr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index 305d3551..3cea6b9 100644 --- a/sys/geom/geom_subr.c +++ b/sys/geom/geom_subr.c @@ -663,6 +663,7 @@ g_sanity(void *ptr) } } +#ifdef _KERNEL struct g_class * g_idclass(struct geomidorname *p) { @@ -746,3 +747,4 @@ g_idprovider(struct geomidorname *p) g_free(n); return (NULL); } +#endif /* _KERNEL */ |