aboutsummaryrefslogtreecommitdiff
path: root/include/xregex.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-07-11 00:15:54 +0000
committerDJ Delorie <dj@redhat.com>2001-07-11 00:15:54 +0000
commit2a6ef46975aa0c3867f6294c0105085f60015235 (patch)
treec4c4b59ef1dc5c49f80a5b42cd001f9929489189 /include/xregex.h
parentb61294bc8a3c7bc94faf14527adc8f1876762f88 (diff)
downloadgdb-2a6ef46975aa0c3867f6294c0105085f60015235.zip
gdb-2a6ef46975aa0c3867f6294c0105085f60015235.tar.gz
gdb-2a6ef46975aa0c3867f6294c0105085f60015235.tar.bz2
merge from gcc
Diffstat (limited to 'include/xregex.h')
-rw-r--r--include/xregex.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/xregex.h b/include/xregex.h
new file mode 100644
index 0000000..694fd16
--- /dev/null
+++ b/include/xregex.h
@@ -0,0 +1,24 @@
+/* This file redefines all regex external names before including
+ a renamed copy of glibc's regex.h. */
+
+#ifndef _XREGEX_H
+#define _XREGEX_H 1
+
+# define regfree xregfree
+# define regexec xregexec
+# define regcomp xregcomp
+# define regerror xregerror
+# define re_set_registers xre_set_registers
+# define re_match_2 xre_match_2
+# define re_match xre_match
+# define re_search xre_search
+# define re_compile_pattern xre_compile_pattern
+# define re_set_syntax xre_set_syntax
+# define re_search_2 xre_search_2
+# define re_compile_fastmap xre_compile_fastmap
+# define re_syntax_options xre_syntax_options
+# define re_max_failures xre_max_failures
+
+#include "xregex2.h"
+
+#endif /* xregex.h */