summaryrefslogtreecommitdiff
path: root/libc/misc/regex/regexec.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-27 01:54:39 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:34 +0200
commit41f937c846d5d106a049094dea67118810d6f4ac (patch)
treed1e1064c7e5145326211046d107db446d4c127d7 /libc/misc/regex/regexec.c
parentef304f14b38a40531af4abd5cd4703cb3483be88 (diff)
adapt regex to new regex.h
While there, add some defines to help build, cleanup Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/misc/regex/regexec.c')
-rw-r--r--libc/misc/regex/regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/regex/regexec.c b/libc/misc/regex/regexec.c
index c13c64ef4..106231da7 100644
--- a/libc/misc/regex/regexec.c
+++ b/libc/misc/regex/regexec.c
@@ -564,7 +564,7 @@ re_search_internal (const regex_t *preg, const char *string, int length,
re_match_context_t mctx;
char *fastmap = (preg->fastmap != NULL && preg->fastmap_accurate
&& range && !preg->can_be_null) ? preg->fastmap : NULL;
- RE_TRANSLATE_TYPE t = preg->translate;
+ __RE_TRANSLATE_TYPE t = preg->translate;
memset (&mctx, '\0', sizeof (re_match_context_t));
mctx.dfa = dfa;