From 0ff5f2017801f52789e2fa658f609abdfbd4fa28 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Tue, 14 Feb 2017 21:50:15 +0200 Subject: bemenu: const correctness --- client/common/common.c | 2 +- client/common/common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'client') 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_ */ -- cgit v1.2.3-70-g09d2