# HG changeset patch # User Paul Eggert # Date 1063270011 0 # Node ID 70bf7ce55a75be1a9c9ea7427bb31cdf1527ae64 # Parent 2e7b90348c21bdbf9c39a16160553b1e983eba38 (main): Define with a prototype. diff --git a/lib/yesno.c b/lib/yesno.c --- a/lib/yesno.c +++ b/lib/yesno.c @@ -31,7 +31,7 @@ extern int rpmatch (char const *response); int -yesno () +yesno (void) { /* We make some assumptions here: a) leading white space in the response are not vital