]> Savannah Git Hosting - gnulib.git/commitdiff
libc-config: update to match cdefs
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 5 May 2022 21:37:21 +0000 (14:37 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 5 May 2022 22:15:51 +0000 (15:15 -0700)
* lib/libc-config.h (__attribute_alloc_align__)
(__attribute_maybe_unused, __fortified_attr_access)
(__glibc_fortify, __glibc_fortify_n, __glibc_likely)
(__glibc_safe_len_cond, __glibc_safe_or_unknown_len)
(__glibc_unsafe_len, __glibc_unsigned_or_positive, __wur):
Undef these too, since lib/cdefs.h now defines them
unconditionally.

ChangeLog
lib/libc-config.h

index f1a154027a0639657bd414149b24e364ba204587..ea2c24dee1b47c0e5dd55cccfa1106a7b195d031 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2022-05-05  Paul Eggert  <eggert@cs.ucla.edu>
 
+       libc-config: update to match cdefs
+       * lib/libc-config.h (__attribute_alloc_align__)
+       (__attribute_maybe_unused, __fortified_attr_access)
+       (__glibc_fortify, __glibc_fortify_n, __glibc_likely)
+       (__glibc_safe_len_cond, __glibc_safe_or_unknown_len)
+       (__glibc_unsafe_len, __glibc_unsigned_or_positive, __wur):
+       Undef these too, since lib/cdefs.h now defines them
+       unconditionally.
+
        cdefs: merge from glibc
        * lib/cdefs.h (__glibc_safe_or_unknown_len):
        Use glibc’s newer version.
index 8fec489378767030ee03a34a6822d259fc72f043..a56665b1ce39f4148f1b1d5ea011f0cbf621f8b0 100644 (file)
 # undef __attr_dealloc
 # undef __attr_dealloc_free
 # undef __attribute__
+# undef __attribute_alloc_align__
 # undef __attribute_alloc_size__
 # undef __attribute_artificial__
 # undef __attribute_const__
 # undef __attribute_format_arg__
 # undef __attribute_format_strfmon__
 # undef __attribute_malloc__
+# undef __attribute_maybe_unused__
 # undef __attribute_noinline__
 # undef __attribute_nonstring__
 # undef __attribute_pure__
 # undef __extern_always_inline
 # undef __extern_inline
 # undef __flexarr
+# undef __fortified_attr_access
 # undef __fortify_function
 # undef __glibc_c99_flexarr_available
+# undef __glibc_fortify
+# undef __glibc_fortify_n
 # undef __glibc_has_attribute
 # undef __glibc_has_builtin
 # undef __glibc_has_extension
+# undef __glibc_likely
 # undef __glibc_macro_warning
 # undef __glibc_macro_warning1
 # undef __glibc_objsize
 # undef __glibc_objsize0
+# undef __glibc_safe_len_cond
+# undef __glibc_safe_or_unknown_len
 # undef __glibc_unlikely
+# undef __glibc_unsafe_len
+# undef __glibc_unsigned_or_positive
 # undef __inline
 # undef __ptr_t
 # undef __restrict
 # undef __va_arg_pack
 # undef __va_arg_pack_len
 # undef __warnattr
+# undef __wur
 
 /* Include our copy of glibc <sys/cdefs.h>.  */
 # include <cdefs.h>