mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Constifixation of attribute argument to g_io_[gs]etattr()
Sponsored by: DARPA & NAI Labs
This commit is contained in:
parent
e2a685488d
commit
0d3f37a804
2 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ g_io_init()
|
|||
}
|
||||
|
||||
int
|
||||
g_io_setattr(char *attr, struct g_consumer *cp, int len, void *ptr)
|
||||
g_io_setattr(const char *attr, struct g_consumer *cp, int len, void *ptr)
|
||||
{
|
||||
struct bio *bp;
|
||||
int error;
|
||||
|
|
@ -193,7 +193,7 @@ g_io_setattr(char *attr, struct g_consumer *cp, int len, void *ptr)
|
|||
|
||||
|
||||
int
|
||||
g_io_getattr(char *attr, struct g_consumer *cp, int *len, void *ptr)
|
||||
g_io_getattr(const char *attr, struct g_consumer *cp, int *len, void *ptr)
|
||||
{
|
||||
struct bio *bp;
|
||||
int error;
|
||||
|
|
|
|||
Loading…
Reference in a new issue