aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-09-12 23:06:24 -0500
committerPaul Eggert <eggert@cs.ucla.edu>2022-09-12 23:07:06 -0500
commitede8203763fe9c68b46ce2ccae8473107fa59870 (patch)
treeed9623d2e1fa5aea6ce2b06b0768b3fcc9dd5cfe
parentbuild: update gnulib submodule to latest (diff)
downloadcoreutils-ede8203763fe9c68b46ce2ccae8473107fa59870.tar.gz
coreutils-ede8203763fe9c68b46ce2ccae8473107fa59870.zip
maint: adjust to Gnulib stdbool C23 change
* gl/lib/mbsalign.c, gl/lib/randread.c, gl/lib/targetdir.h: * gl/lib/xdectoint.c, gl/lib/xfts.c, gl/lib/xfts.h: * src/blake2/b2sum.c, src/copy.h, src/die.h, src/system.h: Don’t include <stdbool.h>, since Gnulib now emulates C23.
-rw-r--r--gl/lib/mbsalign.c1
-rw-r--r--gl/lib/randread.c1
-rw-r--r--gl/lib/targetdir.h1
-rw-r--r--gl/lib/xdectoint.c1
-rw-r--r--gl/lib/xfts.c1
-rw-r--r--gl/lib/xfts.h1
-rw-r--r--src/blake2/b2sum.c1
-rw-r--r--src/copy.h1
-rw-r--r--src/die.h1
-rw-r--r--src/system.h1
10 files changed, 0 insertions, 10 deletions
diff --git a/gl/lib/mbsalign.c b/gl/lib/mbsalign.c
index 38face21d..484829f19 100644
--- a/gl/lib/mbsalign.c
+++ b/gl/lib/mbsalign.c
@@ -25,7 +25,6 @@
#include <string.h>
#include <stdio.h>
#include <stdint.h>
-#include <stdbool.h>
#include <limits.h>
#include <wchar.h>
#include <wctype.h>
diff --git a/gl/lib/randread.c b/gl/lib/randread.c
index 3eaf19e15..f4ac7c2e0 100644
--- a/gl/lib/randread.c
+++ b/gl/lib/randread.c
@@ -30,7 +30,6 @@
#include <fcntl.h>
#include <quote.h>
#include <stdalign.h>
-#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/gl/lib/targetdir.h b/gl/lib/targetdir.h
index 558853e4d..6fa73ecc5 100644
--- a/gl/lib/targetdir.h
+++ b/gl/lib/targetdir.h
@@ -16,7 +16,6 @@
along with this program. If not, see <https://www.gnu.org/licenses/>. */
#include <fcntl.h>
-#include <stdbool.h>
#include <sys/stat.h>
#ifndef _GL_INLINE_HEADER_BEGIN
diff --git a/gl/lib/xdectoint.c b/gl/lib/xdectoint.c
index da53018c0..41e3642bf 100644
--- a/gl/lib/xdectoint.c
+++ b/gl/lib/xdectoint.c
@@ -21,7 +21,6 @@
#include <errno.h>
#include <inttypes.h>
-#include <stdbool.h>
#include <stdlib.h>
#include "error.h"
diff --git a/gl/lib/xfts.c b/gl/lib/xfts.c
index 74f089f5c..a112502e8 100644
--- a/gl/lib/xfts.c
+++ b/gl/lib/xfts.c
@@ -19,7 +19,6 @@
#include <config.h>
-#include <stdbool.h>
#include <stdlib.h>
#include <errno.h>
#include <assert.h>
diff --git a/gl/lib/xfts.h b/gl/lib/xfts.h
index 0b129aaa4..dd40ad26b 100644
--- a/gl/lib/xfts.h
+++ b/gl/lib/xfts.h
@@ -1,4 +1,3 @@
-#include <stdbool.h>
#include "fts_.h"
FTS *
diff --git a/src/blake2/b2sum.c b/src/blake2/b2sum.c
index 0a2387b39..d3521f691 100644
--- a/src/blake2/b2sum.c
+++ b/src/blake2/b2sum.c
@@ -26,7 +26,6 @@
#include <ctype.h>
#include <unistd.h>
#include <getopt.h>
-#include <stdbool.h>
#include "blake2.h"
diff --git a/src/copy.h b/src/copy.h
index 1f1de8673..b79e06e0f 100644
--- a/src/copy.h
+++ b/src/copy.h
@@ -19,7 +19,6 @@
#ifndef COPY_H
# define COPY_H
-# include <stdbool.h>
# include "hash.h"
struct selabel_handle;
diff --git a/src/die.h b/src/die.h
index 7563e6894..0afb401fa 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/system.h b/src/system.h
index 0c5c9b900..d36ca1115 100644
--- a/src/system.h
+++ b/src/system.h
@@ -77,7 +77,6 @@
# define ENODATA (-1)
#endif
-#include <stdbool.h>
#include <stdlib.h>
#include "version.h"