]> Savannah Git Hosting - gnulib.git/commitdiff
dfa: port to non-gnulib
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 Aug 2021 17:03:24 +0000 (10:03 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 Aug 2021 17:03:24 +0000 (10:03 -0700)
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.

ChangeLog
lib/dfa.h

index d9f291fcd7c132a6c97a8dc744ef5ace4777a462..04ddcd1f3fbda1cc403427c90173478048b1c838 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2021-08-29  Paul Eggert  <eggert@cs.ucla.edu>
 
+       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
index 59a0211dfe19327948d76412680a3918162bf254..84aba7d10e99ef5036468946a018a898e5b02cee 100644 (file)
--- 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