Commit | Line | Data |
---|---|---|
2a6ef469 DD |
1 | /* This file redefines all regex external names before including |
2 | a renamed copy of glibc's regex.h. */ | |
3 | ||
4 | #ifndef _XREGEX_H | |
5 | #define _XREGEX_H 1 | |
6 | ||
7 | # define regfree xregfree | |
8 | # define regexec xregexec | |
9 | # define regcomp xregcomp | |
10 | # define regerror xregerror | |
11 | # define re_set_registers xre_set_registers | |
12 | # define re_match_2 xre_match_2 | |
13 | # define re_match xre_match | |
14 | # define re_search xre_search | |
15 | # define re_compile_pattern xre_compile_pattern | |
16 | # define re_set_syntax xre_set_syntax | |
17 | # define re_search_2 xre_search_2 | |
18 | # define re_compile_fastmap xre_compile_fastmap | |
19 | # define re_syntax_options xre_syntax_options | |
20 | # define re_max_failures xre_max_failures | |
21 | ||
d039236d DD |
22 | # define _REGEX_RE_COMP |
23 | # define re_comp xre_comp | |
24 | # define re_exec xre_exec | |
25 | ||
2a6ef469 DD |
26 | #include "xregex2.h" |
27 | ||
28 | #endif /* xregex.h */ |