]> Savannah Git Hosting - gnulib.git/commitdiff
maint.mk: Modernize stddef.h checks for C23
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 1 Jul 2023 08:38:07 +0000 (01:38 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 1 Jul 2023 08:38:25 +0000 (01:38 -0700)
* top/maint.mk (_stddef_syms_re): Modernize for C23.

ChangeLog
top/maint.mk

index 382c6d031771ee1a9cb88be9556bf2ce83844509..5eced13c36da31575146131d8cea283b7a9eecbc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-07-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+       maint.mk: Modernize stddef.h checks for C23
+       * top/maint.mk (_stddef_syms_re): Modernize for C23.
+
 2023-07-01  Bruno Haible  <bruno@clisp.org>
 
        quotearg: Overcome wchar_t limitations.
index 5bc6442710110786c70c799f7fa36907e418bbe7..edcf3c7049cc3fdd86bb7c2e515bfa4fb1224e57 100644 (file)
@@ -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'                                                   \