aboutsummaryrefslogtreecommitdiff
path: root/posix/regex.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-09 21:53:07 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-09 21:53:07 +0000
commit30baa360c58a1de211bd14937530dfaf8362fae3 (patch)
treee3fd62d660e26c405dee02807a93078feb7175f0 /posix/regex.h
parentc3d6c951998a1687ad462bdd5e9bcbb691e1db8a (diff)
downloadglibc-30baa360c58a1de211bd14937530dfaf8362fae3.zip
glibc-30baa360c58a1de211bd14937530dfaf8362fae3.tar.gz
glibc-30baa360c58a1de211bd14937530dfaf8362fae3.tar.bz2
Update.
* posix/regex.c: Define regerror really as __regerror. * posix/regex.h: Add __ protected prototypes for regcomp, regexec, regerror and regfree.
Diffstat (limited to 'posix/regex.h')
-rw-r--r--posix/regex.h27
1 files changed, 19 insertions, 8 deletions
diff --git a/posix/regex.h b/posix/regex.h
index 29e9692..cb26d54 100644
--- a/posix/regex.h
+++ b/posix/regex.h
@@ -536,14 +536,25 @@ extern int re_exec _RE_ARGS ((const char *));
#endif
/* POSIX compatibility. */
-extern int regcomp _RE_ARGS ((regex_t *preg, const char *pattern, int cflags));
-extern int regexec
- _RE_ARGS ((const regex_t *preg, const char *string, size_t nmatch,
- regmatch_t pmatch[], int eflags));
-extern size_t regerror
- _RE_ARGS ((int errcode, const regex_t *preg, char *errbuf,
- size_t errbuf_size));
-extern void regfree _RE_ARGS ((regex_t *preg));
+extern int __regcomp _RE_ARGS ((regex_t *__preg, const char *__pattern,
+ int __cflags));
+extern int regcomp _RE_ARGS ((regex_t *__preg, const char *__pattern,
+ int __cflags));
+
+extern int __regexec _RE_ARGS ((const regex_t *__preg,
+ const char *__string, size_t __nmatch,
+ regmatch_t __pmatch[], int __eflags));
+extern int regexec _RE_ARGS ((const regex_t *__preg,
+ const char *__string, size_t __nmatch,
+ regmatch_t __pmatch[], int __eflags));
+
+extern size_t __regerror _RE_ARGS ((int __errcode, const regex_t *__preg,
+ char *__errbuf, size_t __errbuf_size));
+extern size_t regerror _RE_ARGS ((int __errcode, const regex_t *__preg,
+ char *__errbuf, size_t __errbuf_size));
+
+extern void __regfree _RE_ARGS ((regex_t *__preg));
+extern void regfree _RE_ARGS ((regex_t *__preg));
#ifdef __cplusplus