summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_slice.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-12-16 22:33:27 +0000
committerphk <phk@FreeBSD.org>2002-12-16 22:33:27 +0000
commitcd9caf5281a974ce67d8a16653a7751319c598f0 (patch)
tree4277245a1c753465572318c1f0e7bbd1ec48350c /sys/geom/geom_slice.h
parentd975ae88c1d27ae949bace4ebe9916bc7be8afbf (diff)
downloadFreeBSD-src-cd9caf5281a974ce67d8a16653a7751319c598f0.zip
FreeBSD-src-cd9caf5281a974ce67d8a16653a7751319c598f0.tar.gz
Constification and some s/int/u_int/ changes.
Diffstat (limited to 'sys/geom/geom_slice.h')
-rw-r--r--sys/geom/geom_slice.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/geom/geom_slice.h b/sys/geom/geom_slice.h
index bea6aac..6ca64a9 100644
--- a/sys/geom/geom_slice.h
+++ b/sys/geom/geom_slice.h
@@ -60,14 +60,14 @@ struct g_slicer {
};
g_dumpconf_t g_slice_dumpconf;
-struct g_provider * g_slice_addslice(struct g_geom *gp, int index, off_t offset, off_t length, u_int sectorsize, char *fmt, ...);
-int g_slice_config(struct g_geom *gp, u_int index, int how, off_t offset, off_t length, u_int sectorsize, char *fmt, ...);
+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
#define G_SLICE_CONFIG_FORCE 2
struct g_geom * g_slice_new(struct g_class *mp, u_int slices, struct g_provider *pp, struct g_consumer **cpp, void *extrap, int extra, g_slice_start_t *start);
-int g_slice_conf_hot(struct g_geom *gp, u_int index, off_t offset, off_t length);
+int g_slice_conf_hot(struct g_geom *gp, u_int idx, off_t offset, off_t length);
void g_slice_finish_hot(struct bio *bp);
#endif /* _GEOM_GEOM_SLICE_H_ */
OpenPOWER on IntegriCloud