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 regoff_t xregoff_t
12 #  define re_set_registers xre_set_registers
13 #  define re_match_2 xre_match_2
14 #  define re_match xre_match
15 #  define re_search xre_search
16 #  define re_compile_pattern xre_compile_pattern
17 #  define re_set_syntax xre_set_syntax
18 #  define re_search_2 xre_search_2
19 #  define re_compile_fastmap xre_compile_fastmap
20 #  define re_syntax_options xre_syntax_options
21 #  define re_max_failures xre_max_failures
22 
23 #  define _REGEX_RE_COMP
24 #  define re_comp xre_comp
25 #  define re_exec xre_exec
26 
27 #include "xregex2.h"
28 
29 #endif /* xregex.h */
30