diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-09-10 23:04:03 -0500 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-09-10 23:04:25 -0500 |
commit | 34ba1256282247ceae75036efcf1a88b4bd22e13 (patch) | |
tree | ac3c768234d4e9c42630509db94e86b5de4b8a7d /src | |
parent | 29bc7988c96adc92f498e0b2f69133deee6815b9 (diff) | |
download | grep-34ba1256282247ceae75036efcf1a88b4bd22e13.tar.gz |
Assume C23-like bool
Gnulib’s stdbool module now provides C23-like semantics,
so there’s no longer any need to include stdbool.h.
* src/die.h, src/grep.h, src/kwset.h: Don’t include stdbool.h.
Diffstat (limited to 'src')
-rw-r--r-- | src/die.h | 1 | ||||
-rw-r--r-- | src/grep.h | 1 | ||||
-rw-r--r-- | src/kwset.h | 1 |
3 files changed, 0 insertions, 3 deletions
@@ -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. @@ -20,7 +20,6 @@ #ifndef GREP_GREP_H #define GREP_GREP_H 1 -#include <stdbool.h> #include <idx.h> /* The following flags are exported from grep for the matchers diff --git a/src/kwset.h b/src/kwset.h index 3c2f0142..9509645a 100644 --- a/src/kwset.h +++ b/src/kwset.h @@ -20,7 +20,6 @@ /* Written August 1989 by Mike Haertel. */ #include <stddef.h> -#include <stdbool.h> #include <idx.h> |