summaryrefslogtreecommitdiff
path: root/regex/regerror.c
diff options
context:
space:
mode:
authorunknown <kent@mysql.com>2005-09-29 02:08:24 +0200
committerunknown <kent@mysql.com>2005-09-29 02:08:24 +0200
commit72340d672d573d21871b385b8ca5edd29e839a9b (patch)
tree0554bc5de920ea134de4402fe122a1df5624513c /regex/regerror.c
parente42572f5f85364b8c4e87f73a2a724723e12168b (diff)
downloadmariadb-git-72340d672d573d21871b385b8ca5edd29e839a9b.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 client/mysqltest.c: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. os2/MySQL-Source.icc: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. regex/Makefile.am: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. regex/debug.c: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. regex/debug.ih: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. regex/engine.c: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. regex/engine.ih: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. regex/main.c: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. regex/main.ih: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. regex/regcomp.c: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. regex/regerror.c: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. regex/regerror.ih: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. regex/my_regex.h: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. regex/regexec.c: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. regex/regfree.c: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. regex/reginit.c: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. sql/item_cmpfunc.cc: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. sql/item_cmpfunc.h: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib. sql/mysqld.cc: Prefix regex functions/types with "my_" as our library is not compatible with normal regex lib.
Diffstat (limited to 'regex/regerror.c')
-rw-r--r--regex/regerror.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regex/regerror.c b/regex/regerror.c
index 9caa5b95a4c..489f2e35abb 100644
--- a/regex/regerror.c
+++ b/regex/regerror.c
@@ -1,8 +1,8 @@
#include <my_global.h>
#include <m_string.h>
#include <m_ctype.h>
-#include <regex.h>
+#include "my_regex.h"
#include "utils.h"
#include "regerror.ih"
@@ -56,7 +56,7 @@ static struct rerr {
*/
/* ARGSUSED */
size_t
-regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size)
+my_regerror(int errcode, const my_regex_t *preg, char *errbuf, size_t errbuf_size)
{
register struct rerr *r;
register size_t len;
@@ -101,7 +101,7 @@ regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size)
*/
static char *
regatoi(preg, localbuf)
-const regex_t *preg;
+const my_regex_t *preg;
char *localbuf;
{
register struct rerr *r;