bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60326: [PATCH] maint: do not include stdbool.h, stdalign.h


From: Paul Eggert
Subject: bug#60326: [PATCH] maint: do not include stdbool.h, stdalign.h
Date: Mon, 26 Dec 2022 08:33:34 -0800

They are not needed in C23, which Gnulib now emulates.
(We no longer worry about C89, since Gnulib doesn’t.)
---
 dfltcc.c  | 2 --
 gzip.c    | 2 --
 inflate.c | 1 -
 3 files changed, 5 deletions(-)

diff --git a/dfltcc.c b/dfltcc.c
index b9eaf5e..50632d0 100644
--- a/dfltcc.c
+++ b/dfltcc.c
@@ -18,8 +18,6 @@
 
 #include <config.h>
 
-#include <stdalign.h>
-#include <stdbool.h>
 #include <stdlib.h>
 
 #ifdef HAVE_SYS_SDT_H
diff --git a/gzip.c b/gzip.c
index 9602271..b17f264 100644
--- a/gzip.c
+++ b/gzip.c
@@ -58,8 +58,6 @@ static char const *const license_msg[] = {
 #include <ctype.h>
 #include <sys/types.h>
 #include <signal.h>
-#include <stdalign.h>
-#include <stdbool.h>
 #include <stddef.h>
 #include <sys/stat.h>
 #include <errno.h>
diff --git a/inflate.c b/inflate.c
index e92bc6c..083d286 100644
--- a/inflate.c
+++ b/inflate.c
@@ -117,7 +117,6 @@
 
 #include <config.h>
 
-#include <stdbool.h>
 #include <stdlib.h>
 
 #include "tailor.h"
-- 
2.38.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]