From ad61731042a23c0ca31e14b6666e99c0dcc49468 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Mon, 27 May 2024 21:35:43 -0700 Subject: [PATCH] maint.mk: Update system header list for #include syntax checks. * top/maint.mk (gl_prefer_angle_bracket_headers_): Add byteswap.h, endian.h, and stdbit.h. --- ChangeLog | 4 ++++ top/maint.mk | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 707ab5175d..4ac06a605d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2024-05-27 Collin Funk + maint.mk: Update system header list for #include syntax checks. + * top/maint.mk (gl_prefer_angle_bracket_headers_): Add byteswap.h, + endian.h, and stdbit.h. + doc: Mention byteswap.h as a system header. * doc/gnulib-tool.texi (Style of #include statements): Add byteswap.h. diff --git a/top/maint.mk b/top/maint.mk index ecd8971900..c20059fbae 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -538,13 +538,16 @@ sc_require_config_h_first: fi # Generated headers that override system headers. -# Keep sorted. +# These are documented in gnulib-tool.texi. Keep sorted. +# sed -n -e 's/^@item[[:space:]]\{1,\}@code{\([^}]\{1,\}\)}$/\1/p' $GNULIB_SRCDIR/doc/gnulib-tool.texi | sort -u gl_prefer_angle_bracket_headers_ ?= \ alloca.h \ arpa/inet.h \ assert.h \ + byteswap.h \ ctype.h \ dirent.h \ + endian.h \ errno.h \ error.h \ fcntl.h \ @@ -575,6 +578,7 @@ gl_prefer_angle_bracket_headers_ ?= \ spawn.h \ stdalign.h \ stdarg.h \ + stdbit.h \ stddef.h \ stdint.h \ stdio.h \ -- 2.39.5