From: Paul Eggert Date: Sun, 29 Aug 2021 17:03:24 +0000 (-0700) Subject: dfa: port to non-gnulib X-Git-Tag: v1.0~2631 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c546529534fff50fa5afccfe772fa39174e2a6e;p=thirdparty%2Fgnulib.git dfa: port to non-gnulib Suggested by Arnold Robbins in: https://lists.gnu.org/r/bug-gnulib/2021-08/msg00181.html * lib/dfa.h (_GL_ATTRIBUTE_DEALLOC) [!_GL_ATTRIBUTE_MALLOC]: Add missing definition. --- diff --git a/ChangeLog b/ChangeLog index d9f291fcd7..04ddcd1f3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2021-08-29 Paul Eggert + dfa: port to non-gnulib + Suggested by Arnold Robbins in: + https://lists.gnu.org/r/bug-gnulib/2021-08/msg00181.html + * lib/dfa.h (_GL_ATTRIBUTE_DEALLOC) [!_GL_ATTRIBUTE_MALLOC]: + Add missing definition. + base32, base64: fix broken tests Problem reported by Bruno Haible in: https://lists.gnu.org/r/bug-gnulib/2021-08/msg00170.html diff --git a/lib/dfa.h b/lib/dfa.h index 59a0211dfe..84aba7d10e 100644 --- a/lib/dfa.h +++ b/lib/dfa.h @@ -49,6 +49,7 @@ struct dfa; /* Needed when Gnulib is not used. */ #ifndef _GL_ATTRIBUTE_MALLOC # define _GL_ATTRIBUTE_MALLOC +# define _GL_ATTRIBUTE_DEALLOC(f, i) # define _GL_ATTRIBUTE_DEALLOC_FREE # define _GL_ATTRIBUTE_RETURNS_NONNULL #endif