Browse Source

add hidden aliases for newer regex search functions

  Fixes 3575b741754b391a27e33bb1866bdb29131b7fea
  which only changed the old impl but not the new one.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 14 years ago
parent
commit
7f779e7937
1 changed files with 2 additions and 0 deletions
  1. 2 0
      libc/misc/regex/regexec.c

+ 2 - 0
libc/misc/regex/regexec.c

@@ -300,6 +300,7 @@ re_search (bufp, string, length, start, range, regs)
 {
   return re_search_stub (bufp, string, length, start, range, length, regs, 0);
 }
+libc_hidden_def(re_search)
 
 int
 re_match_2 (bufp, string1, length1, string2, length2, start, regs, stop)
@@ -322,6 +323,7 @@ re_search_2 (bufp, string1, length1, string2, length2, start, range, regs, stop)
   return re_search_2_stub (bufp, string1, length1, string2, length2,
 			   start, range, regs, stop, 0);
 }
+libc_hidden_def(re_search_2)
 
 static int
 re_search_2_stub (bufp, string1, length1, string2, length2, start, range, regs,