diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2023-02-05 14:00:52 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-02-05 14:01:54 -0800 |
commit | 7e7a21b05b79ebf4b6637d949ef1d8dc8d316fdf (patch) | |
tree | aa28f60dcb838fcc1126873fbfb5b3b4a1ab5e5b | |
parent | 09f8e2b0a92f3d25325f5b1df20384140261ee10 (diff) | |
download | diffutils-7e7a21b05b79ebf4b6637d949ef1d8dc8d316fdf.tar.gz |
diff: use C23 bool
* bootstrap.conf (gnulib_modules): Add stdbool.
* src/die.h, src/system.h: Do not include <stdbool.h>.
-rw-r--r-- | bootstrap.conf | 1 | ||||
-rw-r--r-- | src/die.h | 1 | ||||
-rw-r--r-- | src/system.h | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/bootstrap.conf b/bootstrap.conf index 4ddd0cc..bbbe0f5 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -78,6 +78,7 @@ sigprocmask stat stat-macros stat-time +stdbool stdint stpcpy strcase @@ -20,7 +20,6 @@ # define DIE_H # include <error.h> -# include <stdbool.h> # include <verify.h> /* Like 'error (STATUS, ...)', except STATUS must be a nonzero constant. diff --git a/src/system.h b/src/system.h index 469522d..b37893f 100644 --- a/src/system.h +++ b/src/system.h @@ -108,8 +108,6 @@ int strcasecmp (char const *, char const *); #define MIN(a, b) ((a) <= (b) ? (a) : (b)) #define MAX(a, b) ((a) >= (b) ? (a) : (b)) -#include <stdbool.h> - #include <attribute.h> #include <intprops.h> #include <propername.h> |