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. --- chat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chat.h') diff --git a/chat.h b/chat.h index a4d1366..5502665 100644 --- a/chat.h +++ b/chat.h @@ -40,8 +40,8 @@ void selfNick(const char *nick); void selfUser(const char *user); void selfJoin(const char *join); -void eventWait(char *const argv[]); -void eventPipe(char *const argv[]); +void eventWait(const char *argv[static 2]); +void eventPipe(const char *argv[static 2]); void eventLoop(int ui, int irc); struct Tag { -- cgit 1.4.1-2-gfad0