summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_slice.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-12-16 23:08:48 +0000
committerphk <phk@FreeBSD.org>2002-12-16 23:08:48 +0000
commit3cf4280261e4479a41062ad7f2038dafb3594041 (patch)
tree53683765dc78acc5e28c69c1323c6d247e1c4ac7 /sys/geom/geom_slice.h
parent168664d0ec45abb96a9f3ae963ff8f67fb41d190 (diff)
downloadFreeBSD-src-3cf4280261e4479a41062ad7f2038dafb3594041.zip
FreeBSD-src-3cf4280261e4479a41062ad7f2038dafb3594041.tar.gz
Get rid of g_slice_addslice() and use g_slice_config() instead.
Tested with: i386 + src/tools/regression/geom
Diffstat (limited to 'sys/geom/geom_slice.h')
-rw-r--r--sys/geom/geom_slice.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/geom/geom_slice.h b/sys/geom/geom_slice.h
index 6ca64a9..cc014d4 100644
--- a/sys/geom/geom_slice.h
+++ b/sys/geom/geom_slice.h
@@ -60,7 +60,6 @@ struct g_slicer {
};
g_dumpconf_t g_slice_dumpconf;
-struct g_provider * g_slice_addslice(struct g_geom *gp, int idx, off_t offset, off_t length, u_int sectorsize, const char *fmt, ...);
int g_slice_config(struct g_geom *gp, u_int idx, int how, off_t offset, off_t length, u_int sectorsize, const char *fmt, ...);
#define G_SLICE_CONFIG_CHECK 0
#define G_SLICE_CONFIG_SET 1
OpenPOWER on IntegriCloud