summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-rl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/src/cli-rl.c b/cli/src/cli-rl.c
index 6255929e6d2..b6f87b189aa 100644
--- a/cli/src/cli-rl.c
+++ b/cli/src/cli-rl.c
@@ -102,7 +102,7 @@ cli_rl_process_line(char *line)
state->rl_processing = 0;
}
-int
+void
cli_rl_stdin(int fd, int idx, int gen, void *data, int poll_out, int poll_in,
int poll_err, char event_thread_died)
{
@@ -114,7 +114,7 @@ cli_rl_stdin(int fd, int idx, int gen, void *data, int poll_out, int poll_in,
event_handled(state->ctx->event_pool, fd, idx, gen);
- return 0;
+ return;
}
char *