Change h/mh.h's FALSE and TRUE to use stdbool.h's. In time, everything
can switch over and FALSE and TRUE can go. Delete some local
re-definitions of FALSE and TRUE.
#define NMH_BUFSIZ (BUFSIZ>=8192 ? BUFSIZ : 8192)
#ifndef FALSE
-#define FALSE 0
+#define FALSE false
#endif
#ifndef TRUE
-#define TRUE 1
+#define TRUE true
#endif
typedef unsigned char boolean; /* not int so we can pack in a structure */
# include <sbr/ctype-checked.h>
#endif
#include <assert.h>
+
+#ifdef HAVE_STDBOOL_H
+# include <stdbool.h>
+#else
+# define bool int
+# define true 1
+# define false 0
+#endif
+
#include <sys/stat.h>
#include <sys/wait.h>
*/
#endif
-#define TRUE 1
-#define FALSE 0
-
#define NBITS ((sizeof (int)) * 8)
/*
#include <stdio.h>
#include <limits.h>
#include <errno.h>
-#ifdef HAVE_STDBOOL_H
-# include <stdbool.h>
-#else /* ! HAVE_STDBOOL_H */
-# define bool int
-# define true 1
-# define false 0
-#endif /* ! HAVE_STDBOOL_H */
+
+#include <h/mh.h>
/* Largest possible size of buffer that allows SSIZE_MAX to be returned
* to indicate SSIZE_MAX - 1 characters read before the '\n'. The
#include <h/mh.h>
#include <h/utils.h>
-#define FALSE 0
-#define TRUE 1
-
/*
* We allocate space to record the names of folders
* (foldersToDo array), this number of elements at a time.