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