diff options
author | phk <phk@FreeBSD.org> | 2003-01-19 11:51:35 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-01-19 11:51:35 +0000 |
commit | c06f3945f48cf4f2f97d720fb044c635c56135aa (patch) | |
tree | 19e1a62349458770420dbd9113285af2ca373490 /sys | |
parent | 3a76134130d1fe88312fdbb6af1dc320577e3155 (diff) | |
download | FreeBSD-src-c06f3945f48cf4f2f97d720fb044c635c56135aa.zip FreeBSD-src-c06f3945f48cf4f2f97d720fb044c635c56135aa.tar.gz |
#ifdef NO_GEOM these files entirely. When NO_GEOM is removed as an
option the files can be removed.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/subr_diskmbr.c | 2 | ||||
-rw-r--r-- | sys/kern/subr_diskslice.c | 2 | ||||
-rw-r--r-- | sys/pc98/pc98/diskslice_machdep.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/sys/kern/subr_diskmbr.c b/sys/kern/subr_diskmbr.c index d8dc817a..b457f44 100644 --- a/sys/kern/subr_diskmbr.c +++ b/sys/kern/subr_diskmbr.c @@ -1,3 +1,4 @@ +#ifdef NO_GEOM /*- * Copyright (c) 1994 Bruce D. Evans. * All rights reserved. @@ -525,3 +526,4 @@ mbr_setslice(sname, lp, sp, dp, br_offset) #endif return (0); } +#endif diff --git a/sys/kern/subr_diskslice.c b/sys/kern/subr_diskslice.c index bf515fe..ee2f236 100644 --- a/sys/kern/subr_diskslice.c +++ b/sys/kern/subr_diskslice.c @@ -1,3 +1,4 @@ +#ifdef NO_GEOM /*- * Copyright (c) 1994 Bruce D. Evans. * All rights reserved. @@ -936,3 +937,4 @@ set_ds_wlabel(ssp, slice, wlabel) else if (slice == ssp->dss_first_bsd_slice) ssp->dss_slices[COMPATIBILITY_SLICE].ds_wlabel = wlabel; } +#endif diff --git a/sys/pc98/pc98/diskslice_machdep.c b/sys/pc98/pc98/diskslice_machdep.c index 7e8a299..af8f206 100644 --- a/sys/pc98/pc98/diskslice_machdep.c +++ b/sys/pc98/pc98/diskslice_machdep.c @@ -1,3 +1,4 @@ +#ifdef NO_GEOM /*- * Copyright (c) 1994 Bruce D. Evans. * All rights reserved. @@ -400,3 +401,4 @@ mbr_setslice(sname, lp, sp, dp, br_offset) #endif return (0); } +#endif |