aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert2021-12-21 15:36:16 -0800
committerPaul Eggert2021-12-21 15:37:30 -0800
commit4b7e73432cd07612e5225189e18696f755c8f954 (patch)
tree272c5a9f0e3fc33d68c151af90468af5ab2e96ae /lib
parentf1668ef23c19a34a0e99506f7751c33c05f99179 (diff)
downloademacs-4b7e73432cd07612e5225189e18696f755c8f954.tar.gz
emacs-4b7e73432cd07612e5225189e18696f755c8f954.zip
Update from gnulib
Diffstat (limited to 'lib')
-rw-r--r--lib/gnulib.mk.in51
-rw-r--r--lib/intprops.h2
-rw-r--r--lib/warn-on-use.h6
3 files changed, 20 insertions, 39 deletions
diff --git a/lib/gnulib.mk.in b/lib/gnulib.mk.in
index fbec70c135c..66b733cfe4e 100644
--- a/lib/gnulib.mk.in
+++ b/lib/gnulib.mk.in
@@ -1328,7 +1328,6 @@ BUILT_SOURCES += $(ALLOCA_H)
1328ifneq (,$(GL_GENERATE_ALLOCA_H_CONDITION)) 1328ifneq (,$(GL_GENERATE_ALLOCA_H_CONDITION))
1329alloca.h: alloca.in.h $(top_builddir)/config.status 1329alloca.h: alloca.in.h $(top_builddir)/config.status
1330 $(AM_V_GEN)rm -f $@-t $@ && \ 1330 $(AM_V_GEN)rm -f $@-t $@ && \
1331 $(MKDIR_P) '.' && \
1332 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1331 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1333 sed -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' < $(srcdir)/alloca.in.h; \ 1332 sed -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' < $(srcdir)/alloca.in.h; \
1334 } > $@-t && \ 1333 } > $@-t && \
@@ -1391,7 +1390,6 @@ BUILT_SOURCES += $(BYTESWAP_H)
1391ifneq (,$(GL_GENERATE_BYTESWAP_H_CONDITION)) 1390ifneq (,$(GL_GENERATE_BYTESWAP_H_CONDITION))
1392byteswap.h: byteswap.in.h $(top_builddir)/config.status 1391byteswap.h: byteswap.in.h $(top_builddir)/config.status
1393 $(AM_V_GEN)rm -f $@-t $@ && \ 1392 $(AM_V_GEN)rm -f $@-t $@ && \
1394 $(MKDIR_P) '.' && \
1395 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1393 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1396 cat $(srcdir)/byteswap.in.h; \ 1394 cat $(srcdir)/byteswap.in.h; \
1397 } > $@-t && \ 1395 } > $@-t && \
@@ -1572,7 +1570,6 @@ BUILT_SOURCES += dirent.h
1572# doesn't have one that works with the given compiler. 1570# doesn't have one that works with the given compiler.
1573dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 1571dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1574 $(AM_V_GEN)rm -f $@-t $@ && \ 1572 $(AM_V_GEN)rm -f $@-t $@ && \
1575 $(MKDIR_P) '.' && \
1576 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1573 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1577 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 1574 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1578 -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \ 1575 -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
@@ -1665,8 +1662,8 @@ ifneq (,$(gl_GNULIB_ENABLED_dynarray_CONDITION))
1665BUILT_SOURCES += malloc/dynarray.gl.h malloc/dynarray-skeleton.gl.h 1662BUILT_SOURCES += malloc/dynarray.gl.h malloc/dynarray-skeleton.gl.h
1666 1663
1667malloc/dynarray.gl.h: malloc/dynarray.h 1664malloc/dynarray.gl.h: malloc/dynarray.h
1668 $(AM_V_at)$(MKDIR_P) 'malloc' 1665 $(AM_V_GEN)$(MKDIR_P) 'malloc'
1669 $(AM_V_GEN)rm -f $@-t $@ && \ 1666 $(AM_V_at)rm -f $@-t $@ && \
1670 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1667 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1671 sed -e '/libc_hidden_proto/d' < $(srcdir)/malloc/dynarray.h; \ 1668 sed -e '/libc_hidden_proto/d' < $(srcdir)/malloc/dynarray.h; \
1672 } > $@-t && \ 1669 } > $@-t && \
@@ -1674,8 +1671,8 @@ malloc/dynarray.gl.h: malloc/dynarray.h
1674MOSTLYCLEANFILES += malloc/dynarray.gl.h malloc/dynarray.gl.h-t 1671MOSTLYCLEANFILES += malloc/dynarray.gl.h malloc/dynarray.gl.h-t
1675 1672
1676malloc/dynarray-skeleton.gl.h: malloc/dynarray-skeleton.c 1673malloc/dynarray-skeleton.gl.h: malloc/dynarray-skeleton.c
1677 $(AM_V_at)$(MKDIR_P) 'malloc' 1674 $(AM_V_GEN)$(MKDIR_P) 'malloc'
1678 $(AM_V_GEN)rm -f $@-t $@ && \ 1675 $(AM_V_at)rm -f $@-t $@ && \
1679 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1676 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1680 sed -e 's|<malloc/dynarray\.h>|<malloc/dynarray.gl.h>|g' \ 1677 sed -e 's|<malloc/dynarray\.h>|<malloc/dynarray.gl.h>|g' \
1681 -e 's|__attribute_maybe_unused__|_GL_ATTRIBUTE_MAYBE_UNUSED|g' \ 1678 -e 's|__attribute_maybe_unused__|_GL_ATTRIBUTE_MAYBE_UNUSED|g' \
@@ -1719,7 +1716,6 @@ BUILT_SOURCES += $(ERRNO_H)
1719ifneq (,$(GL_GENERATE_ERRNO_H_CONDITION)) 1716ifneq (,$(GL_GENERATE_ERRNO_H_CONDITION))
1720errno.h: errno.in.h $(top_builddir)/config.status 1717errno.h: errno.in.h $(top_builddir)/config.status
1721 $(AM_V_GEN)rm -f $@-t $@ && \ 1718 $(AM_V_GEN)rm -f $@-t $@ && \
1722 $(MKDIR_P) '.' && \
1723 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 1719 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1724 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 1720 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1725 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1721 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -1769,7 +1765,6 @@ BUILT_SOURCES += $(EXECINFO_H)
1769ifneq (,$(GL_GENERATE_EXECINFO_H_CONDITION)) 1765ifneq (,$(GL_GENERATE_EXECINFO_H_CONDITION))
1770execinfo.h: execinfo.in.h $(top_builddir)/config.status 1766execinfo.h: execinfo.in.h $(top_builddir)/config.status
1771 $(AM_V_GEN)rm -f $@-t $@ && \ 1767 $(AM_V_GEN)rm -f $@-t $@ && \
1772 $(MKDIR_P) '.' && \
1773 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1768 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1774 cat $(srcdir)/execinfo.in.h; \ 1769 cat $(srcdir)/execinfo.in.h; \
1775 } > $@-t && \ 1770 } > $@-t && \
@@ -1840,7 +1835,6 @@ BUILT_SOURCES += fcntl.h
1840# doesn't have one that works with the given compiler. 1835# doesn't have one that works with the given compiler.
1841fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 1836fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1842 $(AM_V_GEN)rm -f $@-t $@ && \ 1837 $(AM_V_GEN)rm -f $@-t $@ && \
1843 $(MKDIR_P) '.' && \
1844 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1838 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1845 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 1839 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1846 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1840 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -2045,7 +2039,6 @@ BUILT_SOURCES += $(GETOPT_H) $(GETOPT_CDEFS_H)
2045ifneq (,$(GL_GENERATE_GETOPT_H_CONDITION)) 2039ifneq (,$(GL_GENERATE_GETOPT_H_CONDITION))
2046getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) 2040getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
2047 $(AM_V_GEN)rm -f $@-t $@ && \ 2041 $(AM_V_GEN)rm -f $@-t $@ && \
2048 $(MKDIR_P) '.' && \
2049 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 2042 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2050 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 2043 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2051 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \ 2044 -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
@@ -2164,7 +2157,6 @@ BUILT_SOURCES += $(IEEE754_H)
2164ifneq (,$(GL_GENERATE_IEEE754_H_CONDITION)) 2157ifneq (,$(GL_GENERATE_IEEE754_H_CONDITION))
2165ieee754.h: ieee754.in.h $(top_builddir)/config.status 2158ieee754.h: ieee754.in.h $(top_builddir)/config.status
2166 $(AM_V_GEN)rm -f $@-t && \ 2159 $(AM_V_GEN)rm -f $@-t && \
2167 $(MKDIR_P) '.' && \
2168 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 2160 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2169 sed -e 's/ifndef _GL_GNULIB_HEADER/if 0/g' \ 2161 sed -e 's/ifndef _GL_GNULIB_HEADER/if 0/g' \
2170 $(srcdir)/ieee754.in.h; \ 2162 $(srcdir)/ieee754.in.h; \
@@ -2208,7 +2200,6 @@ BUILT_SOURCES += inttypes.h
2208# doesn't have one that works with the given compiler. 2200# doesn't have one that works with the given compiler.
2209inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) 2201inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
2210 $(AM_V_GEN)rm -f $@-t $@ && \ 2202 $(AM_V_GEN)rm -f $@-t $@ && \
2211 $(MKDIR_P) '.' && \
2212 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 2203 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2213 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ 2204 sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
2214 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 2205 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -2310,7 +2301,6 @@ BUILT_SOURCES += $(LIMITS_H)
2310ifneq (,$(GL_GENERATE_LIMITS_H_CONDITION)) 2301ifneq (,$(GL_GENERATE_LIMITS_H_CONDITION))
2311limits.h: limits.in.h $(top_builddir)/config.status 2302limits.h: limits.in.h $(top_builddir)/config.status
2312 $(AM_V_GEN)rm -f $@-t $@ && \ 2303 $(AM_V_GEN)rm -f $@-t $@ && \
2313 $(MKDIR_P) '.' && \
2314 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 2304 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2315 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 2305 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2316 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 2306 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -2612,8 +2602,8 @@ ifneq (,$(gl_GNULIB_ENABLED_scratch_buffer_CONDITION))
2612BUILT_SOURCES += malloc/scratch_buffer.gl.h 2602BUILT_SOURCES += malloc/scratch_buffer.gl.h
2613 2603
2614malloc/scratch_buffer.gl.h: malloc/scratch_buffer.h 2604malloc/scratch_buffer.gl.h: malloc/scratch_buffer.h
2615 $(AM_V_at)$(MKDIR_P) 'malloc' 2605 $(AM_V_GEN)$(MKDIR_P) 'malloc'
2616 $(AM_V_GEN)rm -f $@-t $@ && \ 2606 $(AM_V_at)rm -f $@-t $@ && \
2617 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 2607 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2618 sed -e 's|__always_inline|inline _GL_ATTRIBUTE_ALWAYS_INLINE|g' \ 2608 sed -e 's|__always_inline|inline _GL_ATTRIBUTE_ALWAYS_INLINE|g' \
2619 -e 's|__glibc_likely|_GL_LIKELY|g' \ 2609 -e 's|__glibc_likely|_GL_LIKELY|g' \
@@ -2663,7 +2653,6 @@ BUILT_SOURCES += signal.h
2663# doesn't have a complete one. 2653# doesn't have a complete one.
2664signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 2654signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2665 $(AM_V_GEN)rm -f $@-t $@ && \ 2655 $(AM_V_GEN)rm -f $@-t $@ && \
2666 $(MKDIR_P) '.' && \
2667 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 2656 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2668 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 2657 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2669 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 2658 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -2775,7 +2764,6 @@ BUILT_SOURCES += $(STDALIGN_H)
2775ifneq (,$(GL_GENERATE_STDALIGN_H_CONDITION)) 2764ifneq (,$(GL_GENERATE_STDALIGN_H_CONDITION))
2776stdalign.h: stdalign.in.h $(top_builddir)/config.status 2765stdalign.h: stdalign.in.h $(top_builddir)/config.status
2777 $(AM_V_GEN)rm -f $@-t $@ && \ 2766 $(AM_V_GEN)rm -f $@-t $@ && \
2778 $(MKDIR_P) '.' && \
2779 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 2767 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2780 cat $(srcdir)/stdalign.in.h; \ 2768 cat $(srcdir)/stdalign.in.h; \
2781 } > $@-t && \ 2769 } > $@-t && \
@@ -2801,7 +2789,6 @@ BUILT_SOURCES += $(STDDEF_H)
2801ifneq (,$(GL_GENERATE_STDDEF_H_CONDITION)) 2789ifneq (,$(GL_GENERATE_STDDEF_H_CONDITION))
2802stddef.h: stddef.in.h $(top_builddir)/config.status 2790stddef.h: stddef.in.h $(top_builddir)/config.status
2803 $(AM_V_GEN)rm -f $@-t $@ && \ 2791 $(AM_V_GEN)rm -f $@-t $@ && \
2804 $(MKDIR_P) '.' && \
2805 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 2792 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2806 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 2793 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2807 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 2794 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -2835,7 +2822,6 @@ BUILT_SOURCES += $(STDINT_H)
2835ifneq (,$(GL_GENERATE_STDINT_H_CONDITION)) 2822ifneq (,$(GL_GENERATE_STDINT_H_CONDITION))
2836stdint.h: stdint.in.h $(top_builddir)/config.status 2823stdint.h: stdint.in.h $(top_builddir)/config.status
2837 $(AM_V_GEN)rm -f $@-t $@ && \ 2824 $(AM_V_GEN)rm -f $@-t $@ && \
2838 $(MKDIR_P) '.' && \
2839 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 2825 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2840 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 2826 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2841 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ 2827 -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
@@ -2887,7 +2873,6 @@ BUILT_SOURCES += stdio.h
2887# doesn't have one that works with the given compiler. 2873# doesn't have one that works with the given compiler.
2888stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 2874stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2889 $(AM_V_GEN)rm -f $@-t $@ && \ 2875 $(AM_V_GEN)rm -f $@-t $@ && \
2890 $(MKDIR_P) '.' && \
2891 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 2876 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2892 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 2877 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2893 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 2878 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -3026,7 +3011,6 @@ BUILT_SOURCES += stdlib.h
3026stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ 3011stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
3027 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 3012 $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
3028 $(AM_V_GEN)rm -f $@-t $@ && \ 3013 $(AM_V_GEN)rm -f $@-t $@ && \
3029 $(MKDIR_P) '.' && \
3030 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 3014 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3031 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 3015 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
3032 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 3016 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -3183,7 +3167,6 @@ BUILT_SOURCES += string.h
3183# doesn't have one that works with the given compiler. 3167# doesn't have one that works with the given compiler.
3184string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 3168string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
3185 $(AM_V_GEN)rm -f $@-t $@ && \ 3169 $(AM_V_GEN)rm -f $@-t $@ && \
3186 $(MKDIR_P) '.' && \
3187 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 3170 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3188 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 3171 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
3189 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 3172 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -3344,8 +3327,8 @@ BUILT_SOURCES += sys/random.h
3344# We need the following in order to create <sys/random.h> when the system 3327# We need the following in order to create <sys/random.h> when the system
3345# doesn't have one. 3328# doesn't have one.
3346sys/random.h: sys_random.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 3329sys/random.h: sys_random.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
3347 $(AM_V_at)$(MKDIR_P) 'sys' 3330 $(AM_V_GEN)$(MKDIR_P) 'sys'
3348 $(AM_V_GEN)rm -f $@-t $@ && \ 3331 $(AM_V_at)rm -f $@-t $@ && \
3349 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 3332 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3350 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 3333 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
3351 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 3334 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -3378,8 +3361,8 @@ BUILT_SOURCES += sys/select.h
3378# We need the following in order to create <sys/select.h> when the system 3361# We need the following in order to create <sys/select.h> when the system
3379# doesn't have one that works with the given compiler. 3362# doesn't have one that works with the given compiler.
3380sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) 3363sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
3381 $(AM_V_at)$(MKDIR_P) 'sys' 3364 $(AM_V_GEN)$(MKDIR_P) 'sys'
3382 $(AM_V_GEN)rm -f $@-t $@ && \ 3365 $(AM_V_at)rm -f $@-t $@ && \
3383 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 3366 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3384 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 3367 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
3385 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 3368 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -3414,8 +3397,8 @@ BUILT_SOURCES += sys/stat.h
3414# We need the following in order to create <sys/stat.h> when the system 3397# We need the following in order to create <sys/stat.h> when the system
3415# has one that is incomplete. 3398# has one that is incomplete.
3416sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 3399sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
3417 $(AM_V_at)$(MKDIR_P) 'sys' 3400 $(AM_V_GEN)$(MKDIR_P) 'sys'
3418 $(AM_V_GEN)rm -f $@-t $@ && \ 3401 $(AM_V_at)rm -f $@-t $@ && \
3419 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 3402 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3420 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 3403 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
3421 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 3404 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -3489,8 +3472,8 @@ BUILT_SOURCES += sys/time.h
3489# We need the following in order to create <sys/time.h> when the system 3472# We need the following in order to create <sys/time.h> when the system
3490# doesn't have one that works with the given compiler. 3473# doesn't have one that works with the given compiler.
3491sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 3474sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
3492 $(AM_V_at)$(MKDIR_P) 'sys' 3475 $(AM_V_GEN)$(MKDIR_P) 'sys'
3493 $(AM_V_GEN)rm -f $@-t $@ && \ 3476 $(AM_V_at)rm -f $@-t $@ && \
3494 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 3477 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3495 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 3478 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
3496 -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \ 3479 -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
@@ -3525,8 +3508,8 @@ BUILT_SOURCES += sys/types.h
3525# We need the following in order to create <sys/types.h> when the system 3508# We need the following in order to create <sys/types.h> when the system
3526# doesn't have one that works with the given compiler. 3509# doesn't have one that works with the given compiler.
3527sys/types.h: sys_types.in.h $(top_builddir)/config.status 3510sys/types.h: sys_types.in.h $(top_builddir)/config.status
3528 $(AM_V_at)$(MKDIR_P) 'sys' 3511 $(AM_V_GEN)$(MKDIR_P) 'sys'
3529 $(AM_V_GEN)rm -f $@-t $@ && \ 3512 $(AM_V_at)rm -f $@-t $@ && \
3530 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 3513 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3531 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 3514 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
3532 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 3515 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -3564,7 +3547,6 @@ BUILT_SOURCES += time.h
3564# doesn't have one that works with the given compiler. 3547# doesn't have one that works with the given compiler.
3565time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 3548time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
3566 $(AM_V_GEN)rm -f $@-t $@ && \ 3549 $(AM_V_GEN)rm -f $@-t $@ && \
3567 $(MKDIR_P) '.' && \
3568 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 3550 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
3569 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 3551 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
3570 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 3552 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -3695,7 +3677,6 @@ libgnu_a_SOURCES += unistd.c
3695# <unistd.h> when the system doesn't have one. 3677# <unistd.h> when the system doesn't have one.
3696unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 3678unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
3697 $(AM_V_GEN)rm -f $@-t $@ && \ 3679 $(AM_V_GEN)rm -f $@-t $@ && \
3698 $(MKDIR_P) '.' && \
3699 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 3680 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
3700 sed -e 's|@''GUARD_PREFIX''@|GL|g' \ 3681 sed -e 's|@''GUARD_PREFIX''@|GL|g' \
3701 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ 3682 -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
diff --git a/lib/intprops.h b/lib/intprops.h
index 7f20f09fa06..a10d793e0ae 100644
--- a/lib/intprops.h
+++ b/lib/intprops.h
@@ -240,7 +240,7 @@
240#endif 240#endif
241 241
242/* True if __builtin_mul_overflow (A, B, P) works when P is non-null. */ 242/* True if __builtin_mul_overflow (A, B, P) works when P is non-null. */
243#if defined __clang_major_ && __clang_major__ < 14 243#if defined __clang_major__ && __clang_major__ < 14
244/* Work around Clang bug <https://bugs.llvm.org/show_bug.cgi?id=16404>. */ 244/* Work around Clang bug <https://bugs.llvm.org/show_bug.cgi?id=16404>. */
245# define _GL_HAS_BUILTIN_MUL_OVERFLOW 0 245# define _GL_HAS_BUILTIN_MUL_OVERFLOW 0
246#else 246#else
diff --git a/lib/warn-on-use.h b/lib/warn-on-use.h
index 612937abb02..39842946160 100644
--- a/lib/warn-on-use.h
+++ b/lib/warn-on-use.h
@@ -84,20 +84,20 @@
84# if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) 84# if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__)
85/* A compiler attribute is available in gcc versions 4.3.0 and later. */ 85/* A compiler attribute is available in gcc versions 4.3.0 and later. */
86# define _GL_WARN_ON_USE(function, message) \ 86# define _GL_WARN_ON_USE(function, message) \
87extern __typeof__ (function) function __attribute__ ((__warning__ (message))) 87_GL_WARN_EXTERN_C __typeof__ (function) function __attribute__ ((__warning__ (message)))
88# define _GL_WARN_ON_USE_ATTRIBUTE(message) \ 88# define _GL_WARN_ON_USE_ATTRIBUTE(message) \
89 __attribute__ ((__warning__ (message))) 89 __attribute__ ((__warning__ (message)))
90# elif __clang_major__ >= 4 90# elif __clang_major__ >= 4
91/* Another compiler attribute is available in clang. */ 91/* Another compiler attribute is available in clang. */
92# define _GL_WARN_ON_USE(function, message) \ 92# define _GL_WARN_ON_USE(function, message) \
93extern __typeof__ (function) function \ 93_GL_WARN_EXTERN_C __typeof__ (function) function \
94 __attribute__ ((__diagnose_if__ (1, message, "warning"))) 94 __attribute__ ((__diagnose_if__ (1, message, "warning")))
95# define _GL_WARN_ON_USE_ATTRIBUTE(message) \ 95# define _GL_WARN_ON_USE_ATTRIBUTE(message) \
96 __attribute__ ((__diagnose_if__ (1, message, "warning"))) 96 __attribute__ ((__diagnose_if__ (1, message, "warning")))
97# elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING 97# elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING
98/* Verify the existence of the function. */ 98/* Verify the existence of the function. */
99# define _GL_WARN_ON_USE(function, message) \ 99# define _GL_WARN_ON_USE(function, message) \
100extern __typeof__ (function) function 100_GL_WARN_EXTERN_C __typeof__ (function) function
101# define _GL_WARN_ON_USE_ATTRIBUTE(message) 101# define _GL_WARN_ON_USE_ATTRIBUTE(message)
102# else /* Unsupported. */ 102# else /* Unsupported. */
103# define _GL_WARN_ON_USE(function, message) \ 103# define _GL_WARN_ON_USE(function, message) \