diff options
-rw-r--r-- | client/common/common.c | 2 | ||||
-rw-r--r-- | client/common/common.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/common/common.c b/client/common/common.c index 3f2d576..50ff848 100644 --- a/client/common/common.c +++ b/client/common/common.c @@ -245,7 +245,7 @@ parse_args(struct client *client, int *argc, char **argv[]) } struct bm_menu* -menu_with_options(struct client *client) +menu_with_options(const struct client *client) { struct bm_menu *menu; if (!(menu = bm_menu_new(NULL))) diff --git a/client/common/common.h b/client/common/common.h index eafbb3a..0e53835 100644 --- a/client/common/common.h +++ b/client/common/common.h @@ -19,7 +19,7 @@ struct client { }; void parse_args(struct client *client, int *argc, char **argv[]); -struct bm_menu* menu_with_options(struct client *client); +struct bm_menu* menu_with_options(const struct client *client); enum bm_run_result run_menu(struct bm_menu *menu); #endif /* _BM_COMMON_H_ */ |