aboutsummaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authorokan2014-01-21 15:42:44 +0000
committerokan2014-01-21 15:42:44 +0000
commit129338185f898dfe060a3de1b5b7aba429161b81 (patch)
treed440ddf50e01d21573c3512ab26de909b9ffc820 /menu.c
parent84ce709251f9e47f74b8a6c75760eb3182063f8b (diff)
downloadcwm-129338185f898dfe060a3de1b5b7aba429161b81.tar.gz
Sprinkle a few more const; from Tiago Cunha.
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c6
1 files changed, 3 insertions, 3 deletions
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 <sys/param.h>
@@ -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))
{