Commit 10ad4d2a authored by Paul Eggert's avatar Paul Eggert
Browse files

dfa: port _GL_ATTRIBUTE_MALLOC to Gawk

Gawk does not use Gnulib, and does not define _GL_ATTRIBUTE_MALLOC.
* lib/dfa.h (_GL_ATTRIBUTE_MALLOC): Define to empty
if not already defined.
parent 23c8b490
2019-12-16 Paul Eggert <eggert@cs.ucla.edu>
 
dfa: port _GL_ATTRIBUTE_MALLOC to Gawk
Gawk does not use Gnulib, and does not define _GL_ATTRIBUTE_MALLOC.
* lib/dfa.h (_GL_ATTRIBUTE_MALLOC): Define to empty
if not already defined.
dfa: remove one dependency on MB_CUR_MAX
* lib/dfa.c (dfamust): No need to refer to MB_CUR_MAX here.
 
......@@ -37,6 +37,11 @@ struct dfamust
/* The dfa structure. It is completely opaque. */
struct dfa;
/* Needed when Gnulib is not used. */
#ifndef _GL_ATTRIBUTE_MALLOC
# define _GL_ATTRIBUTE_MALLOC
#endif
/* Entry points. */
/* Allocate a struct dfa. The struct dfa is completely opaque.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment