bemenu: const correctness

This commit is contained in:
Jari Vetoniemi 2017-02-14 21:50:15 +02:00
parent 8c93e0081b
commit 0ff5f20178
2 changed files with 2 additions and 2 deletions

View File

@ -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)))

View File

@ -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_ */