diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2017-02-14 21:50:15 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2017-02-14 21:50:15 +0200 |
commit | 0ff5f2017801f52789e2fa658f609abdfbd4fa28 (patch) | |
tree | 4317b09a22e426712c765ab188981817fece2f5b | |
parent | 8c93e0081b8864ca0baff8d80022bd60affceeb6 (diff) | |
download | bemenu-0ff5f2017801f52789e2fa658f609abdfbd4fa28.tar.gz bemenu-0ff5f2017801f52789e2fa658f609abdfbd4fa28.tar.bz2 bemenu-0ff5f2017801f52789e2fa658f609abdfbd4fa28.zip |
bemenu: const correctness
-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_ */ |