diff --git a/src/prompt.c b/src/prompt.c index a815beea59b56219233be0ff7c16fce7c35f5952..ac8fba675fab50cb76ce64a35180ac538ba3b176 100644 --- a/src/prompt.c +++ b/src/prompt.c @@ -137,9 +137,9 @@ int do_statusbar_input(bool *ran_func, bool *finished) s->scfunc == do_delete || s->scfunc == do_backspace)) ; - else if (s->scfunc == do_verbatim_input) { + else if (s->scfunc == do_verbatim_input) do_statusbar_verbatim_input(); - } else if (s->scfunc == do_cut_text_void) + else if (s->scfunc == do_cut_text_void) do_statusbar_cut_text(); else if (s->scfunc == do_delete) do_statusbar_delete(); diff --git a/src/text.c b/src/text.c index af6290757cc0711ae8eeebce8c4b2ed725b98fc3..95b540eb5b9a1d814b9e6ed7e7041a89be8c415d 100644 --- a/src/text.c +++ b/src/text.c @@ -456,7 +456,7 @@ bool white_string(const char *s) #ifdef ENABLE_COMMENT /* Comment or uncomment the current line or the marked lines. */ -void do_comment() +void do_comment(void) { const char *comment_seq = GENERAL_COMMENT_CHARACTER; undo_type action = UNCOMMENT;