cppcheck cleanup.

This commit is contained in:
Eric S. Raymond 2022-04-13 20:55:57 -04:00
parent ceba6482a1
commit 4069bf210b
5 changed files with 17 additions and 17 deletions

4
misc.c
View file

@ -246,7 +246,7 @@ static char* get_input(void)
return (input);
}
bool silent_yes(void)
bool silent_yes_or_no(void)
{
bool outcome = false;
@ -295,7 +295,7 @@ bool silent_yes(void)
}
bool yes(const char* question, const char* yes_response, const char* no_response)
bool yes_or_no(const char* question, const char* yes_response, const char* no_response)
/* Print message X, wait for yes/no answer. If yes, print Y and return true;
* if no, print Z and return false. */
{