summaryrefslogtreecommitdiffstats
path: root/include/regex.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-20 05:42:31 -0400
committerAustin Foxley <austinf@cetoncorp.com>2009-08-19 12:10:39 -0700
commit9b44207a9364f1c2be8e77ab95e4efddd73b8a96 (patch)
treec46a50bd891b50d7f440462e37138c95c9262e94 /include/regex.h
parentcd18097ebb7cdd5820ad98d2f2e8742d9aea1e7f (diff)
downloaduClibc-alpine-9b44207a9364f1c2be8e77ab95e4efddd73b8a96.tar.bz2
uClibc-alpine-9b44207a9364f1c2be8e77ab95e4efddd73b8a96.tar.xz
add hidden aliases for older regex search functions
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'include/regex.h')
-rw-r--r--include/regex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/regex.h b/include/regex.h
index 1a2c7953d..ab2e0a3d6 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