summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-02 22:57:37 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-02 22:57:37 +0000
commite55f95fe9788a9e0437d2fc2a4d7330b823381ed (patch)
tree4e4d69cf21532d2a4d676cf17299a875cff8c8ad
parent8e4b7d7fa15a73dcb6d65b3b2c3830c37c44e3a3 (diff)
downloadcoreutils-e55f95fe9788a9e0437d2fc2a4d7330b823381ed.tar.xz
Include <stdbool.h>.
(yesno): Return bool, not int.
-rw-r--r--lib/yesno.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/yesno.h b/lib/yesno.h
index dff4e7ee1..0c2570dd2 100644
--- a/lib/yesno.h
+++ b/lib/yesno.h
@@ -19,6 +19,8 @@
#ifndef YESNO_H_
# define YESNO_H_
-int yesno (void);
+# include <stdbool.h>
+
+bool yesno (void);
#endif