mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
Update.
* posix/regex.c: Define regerror really as __regerror. * posix/regex.h: Add __ protected prototypes for regcomp, regexec, regerror and regfree.
This commit is contained in:
parent
c3d6c95199
commit
30baa360c5
@ -1,5 +1,9 @@
|
|||||||
1998-04-09 Ulrich Drepper <drepper@cygnus.com>
|
1998-04-09 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* posix/regex.c: Define regerror really as __regerror.
|
||||||
|
* posix/regex.h: Add __ protected prototypes for regcomp, regexec,
|
||||||
|
regerror and regfree.
|
||||||
|
|
||||||
* stdlib/strtof_l.c: Declare ____strtoull_l_internal.
|
* stdlib/strtof_l.c: Declare ____strtoull_l_internal.
|
||||||
* stdlib/strtod_l.c: Likewise.
|
* stdlib/strtod_l.c: Likewise.
|
||||||
* stdlib/strtold_l.c: Likewise.
|
* stdlib/strtold_l.c: Likewise.
|
||||||
|
@ -5761,7 +5761,7 @@ weak_alias (__regexec, regexec)
|
|||||||
from either regcomp or regexec. We don't use PREG here. */
|
from either regcomp or regexec. We don't use PREG here. */
|
||||||
|
|
||||||
size_t
|
size_t
|
||||||
regerror (errcode, preg, errbuf, errbuf_size)
|
__regerror (errcode, preg, errbuf, errbuf_size)
|
||||||
int errcode;
|
int errcode;
|
||||||
const regex_t *preg;
|
const regex_t *preg;
|
||||||
char *errbuf;
|
char *errbuf;
|
||||||
|
@ -536,14 +536,25 @@ extern int re_exec _RE_ARGS ((const char *));
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* POSIX compatibility. */
|
/* POSIX compatibility. */
|
||||||
extern int regcomp _RE_ARGS ((regex_t *preg, const char *pattern, int cflags));
|
extern int __regcomp _RE_ARGS ((regex_t *__preg, const char *__pattern,
|
||||||
extern int regexec
|
int __cflags));
|
||||||
_RE_ARGS ((const regex_t *preg, const char *string, size_t nmatch,
|
extern int regcomp _RE_ARGS ((regex_t *__preg, const char *__pattern,
|
||||||
regmatch_t pmatch[], int eflags));
|
int __cflags));
|
||||||
extern size_t regerror
|
|
||||||
_RE_ARGS ((int errcode, const regex_t *preg, char *errbuf,
|
extern int __regexec _RE_ARGS ((const regex_t *__preg,
|
||||||
size_t errbuf_size));
|
const char *__string, size_t __nmatch,
|
||||||
extern void regfree _RE_ARGS ((regex_t *preg));
|
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
|
#ifdef __cplusplus
|
||||||
|
Loading…
Reference in New Issue
Block a user