summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-09-10 23:04:03 -0500
committerPaul Eggert <eggert@cs.ucla.edu>2022-09-10 23:04:25 -0500
commit34ba1256282247ceae75036efcf1a88b4bd22e13 (patch)
treeac3c768234d4e9c42630509db94e86b5de4b8a7d /src
parent29bc7988c96adc92f498e0b2f69133deee6815b9 (diff)
downloadgrep-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.h1
-rw-r--r--src/grep.h1
-rw-r--r--src/kwset.h1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/die.h b/src/die.h
index 4197f0f0..c652491c 100644
--- a/src/die.h
+++ b/src/die.h
@@ -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/grep.h b/src/grep.h
index fdafdc60..422c257c 100644
--- a/src/grep.h
+++ b/src/grep.h
@@ -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>