options: make the groups/categories constant
[fio.git] / options.h
index 13b534a9d9cc6cbbea85a741879d1913dbea0a91..7bf7205e9963d3b297436013d0664bddb13e00c0 100644 (file)
--- a/options.h
+++ b/options.h
@@ -154,8 +154,8 @@ enum opt_category_group {
        FIO_OPT_G_INVALID       = (1ULL << __FIO_OPT_G_NR),
 };
 
-extern struct opt_group *opt_group_from_mask(uint64_t *mask);
-extern struct opt_group *opt_group_cat_from_mask(uint64_t *mask);
+extern const struct opt_group *opt_group_from_mask(uint64_t *mask);
+extern const struct opt_group *opt_group_cat_from_mask(uint64_t *mask);
 extern struct fio_option *fio_option_find(const char *name);
 extern unsigned int fio_get_kb_base(void *);