From 2a00f5cc5c32d36fd5b254593d9fc83b018ba807 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sun, 4 Nov 2012 15:15:43 +0000 Subject: [PATCH] Prefer the use of stdbool to custom defines. Approved by: cperciva (from discussion) MFC after: 3 days --- games/fortune/fortune/fortune.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c index de85d09d584..74339f4f2bc 100644 --- a/games/fortune/fortune/fortune.c +++ b/games/fortune/fortune/fortune.c @@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include @@ -62,9 +63,8 @@ __FBSDID("$FreeBSD$"); #include "strfile.h" #include "pathnames.h" -#define TRUE 1 -#define FALSE 0 -#define bool short +#define TRUE true +#define FALSE false #define MINW 6 /* minimum wait if desired */ #define CPERS 20 /* # of chars for each sec */