summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-04-09 15:12:05 +0000
committerphk <phk@FreeBSD.org>2002-04-09 15:12:05 +0000
commit6ec0e5c95fae0a2ab252beefb00944fe24ae1a82 (patch)
treec778dc7b4658e5ebf592c56e1efded2e1b0a985a /sys/geom/geom.h
parent661e748444dd0c635332a2a89b70c284676dbcf2 (diff)
downloadFreeBSD-src-6ec0e5c95fae0a2ab252beefb00944fe24ae1a82.zip
FreeBSD-src-6ec0e5c95fae0a2ab252beefb00944fe24ae1a82.tar.gz
Constifixation of attribute argument to g_io_[gs]etattr()
Sponsored by: DARPA & NAI Labs
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r--sys/geom/geom.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h
index 7c85d2b..4c9b3f0 100644
--- a/sys/geom/geom.h
+++ b/sys/geom/geom.h
@@ -210,9 +210,9 @@ struct bio * g_clone_bio(struct bio *);
void g_destroy_bio(struct bio *);
void g_io_deliver(struct bio *bp);
void g_io_fail(struct bio *bp, int error);
-int g_io_getattr(char *attr, struct g_consumer *cp, int *len, void *ptr);
+int g_io_getattr(const char *attr, struct g_consumer *cp, int *len, void *ptr);
void g_io_request(struct bio *bp, struct g_consumer *cp);
-int g_io_setattr(char *attr, struct g_consumer *cp, int len, void *ptr);
+int g_io_setattr(const char *attr, struct g_consumer *cp, int len, void *ptr);
struct bio *g_new_bio(void);
void * g_read_data(struct g_consumer *cp, off_t offset, off_t length, int *error);
OpenPOWER on IntegriCloud