From: Paul Eggert Date: Tue, 13 Sep 2022 04:06:24 +0000 (-0500) Subject: maint: adjust to Gnulib stdbool C23 change X-Git-Tag: v9.2~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ede8203763fe9c68b46ce2ccae8473107fa59870;p=thirdparty%2Fcoreutils.git 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 , since Gnulib now emulates C23. --- diff --git a/gl/lib/mbsalign.c b/gl/lib/mbsalign.c index 38face21df..484829f195 100644 --- a/gl/lib/mbsalign.c +++ b/gl/lib/mbsalign.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include diff --git a/gl/lib/randread.c b/gl/lib/randread.c index 3eaf19e158..f4ac7c2e07 100644 --- a/gl/lib/randread.c +++ b/gl/lib/randread.c @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #include diff --git a/gl/lib/targetdir.h b/gl/lib/targetdir.h index 558853e4d4..6fa73ecc55 100644 --- a/gl/lib/targetdir.h +++ b/gl/lib/targetdir.h @@ -16,7 +16,6 @@ along with this program. If not, see . */ #include -#include #include #ifndef _GL_INLINE_HEADER_BEGIN diff --git a/gl/lib/xdectoint.c b/gl/lib/xdectoint.c index da53018c08..41e3642bf6 100644 --- a/gl/lib/xdectoint.c +++ b/gl/lib/xdectoint.c @@ -21,7 +21,6 @@ #include #include -#include #include #include "error.h" diff --git a/gl/lib/xfts.c b/gl/lib/xfts.c index 74f089f5c9..a112502e88 100644 --- a/gl/lib/xfts.c +++ b/gl/lib/xfts.c @@ -19,7 +19,6 @@ #include -#include #include #include #include diff --git a/gl/lib/xfts.h b/gl/lib/xfts.h index 0b129aaa40..dd40ad26b6 100644 --- a/gl/lib/xfts.h +++ b/gl/lib/xfts.h @@ -1,4 +1,3 @@ -#include #include "fts_.h" FTS * diff --git a/src/blake2/b2sum.c b/src/blake2/b2sum.c index 0a2387b393..d3521f691f 100644 --- a/src/blake2/b2sum.c +++ b/src/blake2/b2sum.c @@ -26,7 +26,6 @@ #include #include #include -#include #include "blake2.h" diff --git a/src/copy.h b/src/copy.h index 1f1de86735..b79e06e0fc 100644 --- a/src/copy.h +++ b/src/copy.h @@ -19,7 +19,6 @@ #ifndef COPY_H # define COPY_H -# include # include "hash.h" struct selabel_handle; diff --git a/src/die.h b/src/die.h index 7563e6894a..0afb401fac 100644 --- a/src/die.h +++ b/src/die.h @@ -20,7 +20,6 @@ # define DIE_H # include -# include # include /* Like 'error (STATUS, ...)', except STATUS must be a nonzero constant. diff --git a/src/system.h b/src/system.h index 0c5c9b9009..d36ca1115c 100644 --- a/src/system.h +++ b/src/system.h @@ -77,7 +77,6 @@ # define ENODATA (-1) #endif -#include #include #include "version.h"