summary refs log tree commit diff
path: root/input.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-10-28 02:14:22 -0400
committerJune McEnroe <june@causal.agency>2018-10-28 02:14:22 -0400
commit36ec6cf258e9b5c3aa49cbfd3179a8714b52fee5 (patch)
tree5fe128d5375d5ea18a14ef1641da49e94d0f6f60 /input.c
parentFix verbose view name in man page (diff)
downloadcatgirl-36ec6cf258e9b5c3aa49cbfd3179a8714b52fee5.tar.gz
catgirl-36ec6cf258e9b5c3aa49cbfd3179a8714b52fee5.zip
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 {