]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: adjust to Gnulib stdbool C23 change
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 13 Sep 2022 04:06:24 +0000 (23:06 -0500)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 13 Sep 2022 04:07:06 +0000 (23:07 -0500)
* 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.

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

index 38face21dfb346abdd3aac01be794d390331e455..484829f19531d62fc3d23f8ec573cb56bca7fd31 100644 (file)
@@ -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>
index 3eaf19e1580e632c31de4bd5b59b063a8bbcdebb..f4ac7c2e077f69469fc93739b899670b375be8f2 100644 (file)
@@ -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>
index 558853e4d42b5b1f3ec6ac7586a0f844d8915bf5..6fa73ecc5553043991fceed766e4586cb492099d 100644 (file)
@@ -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
index da53018c08811bb91e5435fbcb93f09ea8fa0503..41e3642bf65a11431b2dda5d529b99401b77cb62 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <errno.h>
 #include <inttypes.h>
-#include <stdbool.h>
 #include <stdlib.h>
 
 #include "error.h"
index 74f089f5c946cab9c69d6e487d33958b8ac2c9dd..a112502e88732396a5f3e9a50b6614ee06b209af 100644 (file)
@@ -19,7 +19,6 @@
 
 #include <config.h>
 
-#include <stdbool.h>
 #include <stdlib.h>
 #include <errno.h>
 #include <assert.h>
index 0b129aaa4063a58aa427e55b7ceee0676eb99f25..dd40ad26b644d8215e52b7dec309809259681e2f 100644 (file)
@@ -1,4 +1,3 @@
-#include <stdbool.h>
 #include "fts_.h"
 
 FTS *
index 0a2387b393b0c4ed7cf692732b52612ef1fcd429..d3521f691fdf3ef4437540ed14fd2c709bcfd846 100644 (file)
@@ -26,7 +26,6 @@
 #include <ctype.h>
 #include <unistd.h>
 #include <getopt.h>
-#include <stdbool.h>
 
 #include "blake2.h"
 
index 1f1de86735c932d363e3a87781c4b681832fae37..b79e06e0fc9dbaace8aff4853c965f1dc46258d7 100644 (file)
@@ -19,7 +19,6 @@
 #ifndef COPY_H
 # define COPY_H
 
-# include <stdbool.h>
 # include "hash.h"
 
 struct selabel_handle;
index 7563e6894a80320ff5988138d62442549f4b4594..0afb401fac49554d6bc980af7675eb539a39c9b7 100644 (file)
--- 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.
index 0c5c9b9009abf3a30201b7f136fc0f14d25239a1..d36ca1115cccb6aedf492d9ecfe5cf7cc59f76da 100644 (file)
@@ -77,7 +77,6 @@
 # define ENODATA (-1)
 #endif
 
-#include <stdbool.h>
 #include <stdlib.h>
 #include "version.h"