[git commit] add hidden aliases for older regex search functions
Mike Frysinger
vapier at gentoo.org
Mon Jul 20 09:42:31 UTC 2009
commit: http://git.uclibc.org/uClibc/commit/?id=3575b741754b391a27e33bb1866bdb29131b7fea
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
include/regex.h | 2 ++
libc/misc/regex/regex_old.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/regex.h b/include/regex.h
index 1a2c795..ab2e0a3 100644
--- a/include/regex.h
+++ b/include/regex.h
@@ -474,6 +474,7 @@ libc_hidden_proto(re_compile_fastmap)
extern int re_search (struct re_pattern_buffer *__buffer, const char *__string,
int __length, int __start, int __range,
struct re_registers *__regs);
+libc_hidden_proto(re_search);
/* Like `re_search', but search in the concatenation of STRING1 and
@@ -482,6 +483,7 @@ extern int re_search_2 (struct re_pattern_buffer *__buffer,
const char *__string1, int __length1,
const char *__string2, int __length2, int __start,
int __range, struct re_registers *__regs, int __stop);
+libc_hidden_proto(re_search_2);
/* Like `re_search', but return how many characters in STRING the regexp
diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c
index bdc298a..1d00ad1 100644
--- a/libc/misc/regex/regex_old.c
+++ b/libc/misc/regex/regex_old.c
@@ -4964,6 +4964,7 @@ re_search (
return re_search_2 (bufp, NULL, 0, string, size, startpos, range,
regs, size);
}
+libc_hidden_def(re_search);
/* Using the compiled pattern in BUFP->buffer, first tries to match the
@@ -5005,6 +5006,7 @@ re_search_2 (
return byte_re_search_2 (bufp, string1, size1, string2, size2, startpos,
range, regs, stop);
}
+libc_hidden_def(re_search_2);
#endif /* not INSIDE_RECURSION */
--
1.6.3.3
More information about the uClibc-cvs
mailing list