diff options
author | kent@mysql.com <> | 2005-09-29 02:08:24 +0200 |
---|---|---|
committer | kent@mysql.com <> | 2005-09-29 02:08:24 +0200 |
commit | 844d964f2d23e82697c0f3aed59dbf043f6e4128 (patch) | |
tree | 0554bc5de920ea134de4402fe122a1df5624513c /regex/regexec.c | |
parent | 7e6a78a1aea10b27d549c9b3210266c5e73a0cc9 (diff) | |
download | mariadb-git-844d964f2d23e82697c0f3aed59dbf043f6e4128.tar.gz |
Many files:
Prefix regex functions/types with "my_" as our
library is not compatible with normal regex lib.
my_regex.h:
Rename: regex/regex.h -> regex/my_regex.h
Diffstat (limited to 'regex/regexec.c')
-rw-r--r-- | regex/regexec.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/regex/regexec.c b/regex/regexec.c index 723289bd0ad..b7ad83ba883 100644 --- a/regex/regexec.c +++ b/regex/regexec.c @@ -8,11 +8,10 @@ #include <my_global.h> #include <m_string.h> #include <m_ctype.h> -#include <regex.h> #ifdef __WIN__ #include <limits.h> #endif - +#include "my_regex.h" #include "utils.h" #include "regex2.h" @@ -110,11 +109,11 @@ static int nope = 0; /* for use in asserts; shuts lint up */ * have been prototyped. */ int /* 0 success, REG_NOMATCH failure */ -regexec(preg, str, nmatch, pmatch, eflags) -const regex_t *preg; +my_regexec(preg, str, nmatch, pmatch, eflags) +const my_regex_t *preg; const char *str; size_t nmatch; -regmatch_t pmatch[]; +my_regmatch_t pmatch[]; int eflags; { register struct re_guts *g = preg->re_g; |