Sprinkle a few more const; from Tiago Cunha.

This commit is contained in:
okan
2014-01-21 15:42:44 +00:00
parent 83f9ef884a
commit ac3162439a
5 changed files with 18 additions and 17 deletions

4
menu.c
View File

@@ -78,8 +78,8 @@ static struct menu *menu_complete_path(struct menu_ctx *);
static int menu_keycode(XKeyEvent *, enum ctltype *, char *);
struct menu *
menu_filter(struct screen_ctx *sc, struct menu_q *menuq, char *prompt,
char *initial, int flags,
menu_filter(struct screen_ctx *sc, struct menu_q *menuq, const char *prompt,
const char *initial, int flags,
void (*match)(struct menu_q *, struct menu_q *, char *),
void (*print)(struct menu *, int))
{