From f4486140bc4cf3282e98daee390bfafa9a8f88e9 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Sun, 8 Apr 2018 15:11:27 +0800 Subject: [PATCH] change prototype of wait_event --- src/ial/comminput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ial/comminput.c b/src/ial/comminput.c index 27bc59a4..488b8ba2 100644 --- a/src/ial/comminput.c +++ b/src/ial/comminput.c @@ -108,7 +108,7 @@ static const char* keyboard_getstate (void) return (const char*)kbd_state; } -static int wait_event (int which, fd_set *in, fd_set *out, fd_set *except, +static int wait_event (int which, int maxfd, fd_set *in, fd_set *out, fd_set *except, struct timeval *timeout) { int retvalue;