diff options
author | June McEnroe <june@causal.agency> | 2018-10-28 02:14:22 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-10-28 02:14:22 -0400 |
commit | 36ec6cf258e9b5c3aa49cbfd3179a8714b52fee5 (patch) | |
tree | 5fe128d5375d5ea18a14ef1641da49e94d0f6f60 /input.c | |
parent | Fix verbose view name in man page (diff) | |
download | test-36ec6cf258e9b5c3aa49cbfd3179a8714b52fee5.tar.gz test-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.c | 3 |
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 { |