1
0
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:
Zdenek Kabelac 2024-05-03 15:41:02 +02:00
parent 64cb8b5940
commit 41ffa8c74d
2 changed files with 2 additions and 2 deletions

View File

@ -660,7 +660,7 @@ static void _fmt_text_destroy(struct labeller *l)
free(l);
}
struct label_ops _text_ops = {
const struct label_ops _text_ops = {
.can_handle = _text_can_handle,
.write = _text_write,
.read = _text_read,

View File

@ -84,7 +84,7 @@ struct label_ops {
};
struct labeller {
struct label_ops *ops;
const struct label_ops *ops;
const struct format_type *fmt;
};