summaryrefslogtreecommitdiff
path: root/lib/yesno.h
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 /lib/yesno.h
parent8e4b7d7fa15a73dcb6d65b3b2c3830c37c44e3a3 (diff)
downloadcoreutils-e55f95fe9788a9e0437d2fc2a4d7330b823381ed.tar.xz
Include <stdbool.h>.
(yesno): Return bool, not int.
Diffstat (limited to 'lib/yesno.h')
-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