From: Paul Eggert Date: Mon, 2 Aug 2004 22:57:13 +0000 (+0000) Subject: Include yesno.h first. X-Git-Tag: v5.3.0~911 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e4b7d7fa15a73dcb6d65b3b2c3830c37c44e3a3;p=thirdparty%2Fcoreutils.git Include yesno.h first. (yesno): Return bool, not int. --- diff --git a/lib/yesno.c b/lib/yesno.c index 60659a4637..35d4ba767b 100644 --- a/lib/yesno.c +++ b/lib/yesno.c @@ -19,11 +19,12 @@ # include #endif +#include "yesno.h" + #include #include #include #include "unlocked-io.h" -#include "yesno.h" /* Read one line from standard input and return nonzero if that line begins with y or Y, @@ -31,7 +32,7 @@ extern int rpmatch (char const *response); -int +bool yesno (void) { /* We make some assumptions here: