From: Paul Eggert Date: Mon, 28 Nov 2022 01:15:24 +0000 (-0800) Subject: explicit_bzero: add poison X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=3011f799b193d9ad1136077777f1f186538e6dd8;p=gnulib.git explicit_bzero: add poison * m4/string_h.m4 (gl_STRING_H): Poison explicit_bzero. This was inadvertently omitted when explicit_bzero was added. --- diff --git a/ChangeLog b/ChangeLog index a236f89292..98343adc0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2022-11-27 Paul Eggert + + explicit_bzero: add poison + * m4/string_h.m4 (gl_STRING_H): Poison explicit_bzero. + This was inadvertently omitted when explicit_bzero was added. + 2022-11-27 Paul Eggert explicit_bzero: work with gcc -std=c99 diff --git a/m4/string_h.m4 b/m4/string_h.m4 index 9e09b96e16..df44e85e59 100644 --- a/m4/string_h.m4 +++ b/m4/string_h.m4 @@ -21,7 +21,8 @@ AC_DEFUN_ONCE([gl_STRING_H], dnl guaranteed by C89. gl_WARN_ON_USE_PREPARE([[#include ]], - [ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul + [explicit_bzero ffsl ffsll memmem mempcpy memrchr + rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r strerrorname_np sigabbrev_np sigdescr_np strsignal strverscmp])