From 129338185f898dfe060a3de1b5b7aba429161b81 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 21 Jan 2014 15:42:44 +0000 Subject: Sprinkle a few more const; from Tiago Cunha. --- menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'menu.c') diff --git a/menu.c b/menu.c index 790282d..9f9d5aa 100644 --- a/menu.c +++ b/menu.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: menu.c,v 1.73 2014/01/20 18:58:03 okan Exp $ + * $OpenBSD: menu.c,v 1.74 2014/01/21 15:42:45 okan Exp $ */ #include @@ -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)) { -- cgit v1.2.3-2-gb3c3