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