2006-11-08 Jie Zhang <jzhang918@gmail.com>
[binutils.git] / include / xregex.h
blob645195bbceb53ce9716092dcd9a4749f01aad85d
1 /* This file redefines all regex external names before including
2 a renamed copy of glibc's regex.h. */
4 #ifndef _XREGEX_H
5 #define _XREGEX_H 1
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
22 # define _REGEX_RE_COMP
23 # define re_comp xre_comp
24 # define re_exec xre_exec
26 #include "xregex2.h"
28 #endif /* xregex.h */