OSDN Git Service

add hidden aliases for newer regex search functions
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 17 Aug 2009 11:44:25 +0000 (13:44 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 17 Aug 2009 11:44:25 +0000 (13:44 +0200)
  Fixes 3575b741754b391a27e33bb1866bdb29131b7fea
  which only changed the old impl but not the new one.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/misc/regex/regexec.c

index bdc7a29..92cbd82 100644 (file)
@@ -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,