mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
const: _ops labeler _text_ops
This commit is contained in:
parent
64cb8b5940
commit
41ffa8c74d
@ -660,7 +660,7 @@ static void _fmt_text_destroy(struct labeller *l)
|
|||||||
free(l);
|
free(l);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct label_ops _text_ops = {
|
const struct label_ops _text_ops = {
|
||||||
.can_handle = _text_can_handle,
|
.can_handle = _text_can_handle,
|
||||||
.write = _text_write,
|
.write = _text_write,
|
||||||
.read = _text_read,
|
.read = _text_read,
|
||||||
|
@ -84,7 +84,7 @@ struct label_ops {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct labeller {
|
struct labeller {
|
||||||
struct label_ops *ops;
|
const struct label_ops *ops;
|
||||||
const struct format_type *fmt;
|
const struct format_type *fmt;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user