summaryrefslogtreecommitdiff
path: root/lib/dfa.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-08-29 10:03:24 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2021-08-29 10:03:24 -0700
commit6c546529534fff50fa5afccfe772fa39174e2a6e (patch)
tree844a19eebfa46bcf02f5104add51344491169ad1 /lib/dfa.h
parent93280a4bdca1c6e6fa1946fbf9d8621c42bdd692 (diff)
downloadgnulib-6c546529534fff50fa5afccfe772fa39174e2a6e.tar.gz
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.
Diffstat (limited to 'lib/dfa.h')
-rw-r--r--lib/dfa.h1
1 files changed, 1 insertions, 0 deletions
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