From: Paul Eggert Date: Sat, 1 Jul 2023 08:38:07 +0000 (-0700) Subject: maint.mk: Modernize stddef.h checks for C23 X-Git-Tag: v1.0~1162 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=96ad66ea76f65e6cf78c638b85696157ea6141df;p=gnulib.git maint.mk: Modernize stddef.h checks for C23 * top/maint.mk (_stddef_syms_re): Modernize for C23. --- diff --git a/ChangeLog b/ChangeLog index 382c6d0317..5eced13c36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2023-07-01 Paul Eggert + + maint.mk: Modernize stddef.h checks for C23 + * top/maint.mk (_stddef_syms_re): Modernize for C23. + 2023-07-01 Bruno Haible quotearg: Overcome wchar_t limitations. diff --git a/top/maint.mk b/top/maint.mk index 5bc6442710..edcf3c7049 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -736,7 +736,8 @@ sc_prohibit_intprops_without_use: re='\<($(_intprops_syms_re)) *\(' \ $(_sc_header_without_use) -_stddef_syms_re = NULL|offsetof|ptrdiff_t|size_t|wchar_t +_stddef_syms_re = \ + NULL|max_align_t|nullptr_t|offsetof|ptrdiff_t|size_t|unreachable|wchar_t # Prohibit the inclusion of stddef.h without an actual use. sc_prohibit_stddef_without_use: @h='stddef.h' \