summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/yesno.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/yesno.c b/lib/yesno.c
index 60659a463..35d4ba767 100644
--- a/lib/yesno.c
+++ b/lib/yesno.c
@@ -19,11 +19,12 @@
# include <config.h>
#endif
+#include "yesno.h"
+
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
#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: