From 8e4b7d7fa15a73dcb6d65b3b2c3830c37c44e3a3 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 2 Aug 2004 22:57:13 +0000 Subject: [PATCH] Include yesno.h first. (yesno): Return bool, not int. --- lib/yesno.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: -- 2.47.2