forked from RepoMirrors/bemenu
bemenu: const correctness
This commit is contained in:
parent
8c93e0081b
commit
0ff5f20178
@ -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)))
|
||||
|
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user