summary refs log tree commit diff
path: root/input.c
diff options
context:
space:
mode:
authorCurtis McEnroe2018-10-28 02:14:22 -0400
committerCurtis McEnroe2018-10-28 02:14:22 -0400
commit36ec6cf258e9b5c3aa49cbfd3179a8714b52fee5 (patch)
tree5fe128d5375d5ea18a14ef1641da49e94d0f6f60 /input.c
parent9bc200bfe506ef7ffa1f8c6c3573f50fdc9776d9 (diff)
Use const char *argv[] signatures
C is really weird about this stuff, but this makes more sense to me.
Diffstat (limited to 'input.c')
-rw-r--r--input.c3
1 files changed, 1 insertions, 2 deletions
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 {