diff --git a/examples/fileman.c b/examples/fileman.c index ca1ec82..45e936d 100644 --- a/examples/fileman.c +++ b/examples/fileman.c @@ -62,8 +62,8 @@ struct cmd commands[] = { }; /* Forward declarations. */ -char *stripwhite(); -struct cmd *find_command(); +char *stripwhite(char *string); +struct cmd *find_command(char *name); /* ~/.fileman_history */ char *fileman_history; diff --git a/src/editline.c b/src/editline.c index 5fd690b..f19d328 100644 --- a/src/editline.c +++ b/src/editline.c @@ -1431,7 +1431,7 @@ void rl_clear_message(void) /* Nothing to do atm. */ } -void rl_forced_update_display() +void rl_forced_update_display(void) { redisplay(0); tty_flush();