Author: eadler Date: Wed Nov 7 00:40:01 2012 New Revision: 242686 URL: http://svnweb.freebsd.org/changeset/base/242686
Log: MFC r242576: Prefer the use of stdbool to custom defines. Approved by: cperciva (implicit) Modified: stable/9/games/fortune/fortune/fortune.c Directory Properties: stable/9/games/fortune/ (props changed) Modified: stable/9/games/fortune/fortune/fortune.c ============================================================================== --- stable/9/games/fortune/fortune/fortune.c Wed Nov 7 00:30:25 2012 (r242685) +++ stable/9/games/fortune/fortune/fortune.c Wed Nov 7 00:40:01 2012 (r242686) @@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$"); #include <fcntl.h> #include <locale.h> #include <regex.h> +#include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -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 */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"