From 36ec6cf258e9b5c3aa49cbfd3179a8714b52fee5 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 28 Oct 2018 02:14:22 -0400 Subject: Use const char *argv[] signatures C is really weird about this stuff, but this makes more sense to me. --- input.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'input.c') diff --git a/input.c b/input.c index 7866c5a..84ca71c 100644 --- a/input.c +++ b/input.c @@ -144,8 +144,7 @@ static void inputClose(struct Tag tag, char *params) { static void inputMan(struct Tag tag, char *params) { (void)tag; (void)params; - char *argv[] = { "man", "1", "chatte", NULL }; - eventWait(argv); + eventWait((const char *[]) { "man", "1", "chatte", NULL }); } static const struct { -- cgit 1.4.1