[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
- bug#60326: [COMMITTED 1/8] build: update gnulib submodule to latest, Paul Eggert, 2022/12/25
- bug#60327: [COMMITTED 2/8] maint: update .gitignore to match Gnulib changes, Paul Eggert, 2022/12/25
- bug#60326: [COMMITTED 5/8] maint: stop using obsolete dosname module, Paul Eggert, 2022/12/25
- bug#60326: [COMMITTED 4/8] maint: stop using obsolete stdnoreturn module, Paul Eggert, 2022/12/25
- bug#60326: [COMMITTED 3/8] maint: stop using obsolete fdl module, Paul Eggert, 2022/12/25
- bug#60326: [COMMITTED 7/8] gzip: local → static, Paul Eggert, 2022/12/25
- bug#60326: [COMMITTED 6/8] maint: port function definitions to C23, Paul Eggert, 2022/12/25
- bug#60326: [COMMITTED 8/8] gzip: port alignas usage to C23, Paul Eggert, 2022/12/25
- bug#60326: [PATCH] maint: do not include stdbool.h, stdalign.h,
Paul Eggert <=
- bug#60326: [PATCH 1/2] maint: link with $(LIB_FDATASYNC), Paul Eggert, 2022/12/28