]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include <stdbool.h>.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 22:57:37 +0000 (22:57 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 22:57:37 +0000 (22:57 +0000)
(yesno): Return bool, not int.

lib/yesno.h

index dff4e7ee16c61db69a7c850dbdc73a8971fbb3b3..0c2570dd25674fc3744c25b505219414e4c964fc 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef YESNO_H_
 # define YESNO_H_
 
-int yesno (void);
+# include <stdbool.h>
+
+bool yesno (void);
 
 #endif