aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc/fixlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fixinc/fixlib.c')
-rw-r--r--gcc/fixinc/fixlib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fixinc/fixlib.c b/gcc/fixinc/fixlib.c
index af56f3e..49edda7 100644
--- a/gcc/fixinc/fixlib.c
+++ b/gcc/fixinc/fixlib.c
@@ -131,7 +131,7 @@ template[ \t]*<|\
if (!compiled)
compile_re (cxxpat, &cxxre, 0, "contents check", "is_cxx_header");
- if (regexec (&cxxre, text, 0, 0, 0) == 0)
+ if (xregexec (&cxxre, text, 0, 0, 0) == 0)
return BOOL_TRUE;
}
@@ -181,7 +181,7 @@ skip_quote( q, text )
Compile one regular expression pattern for later use. PAT contains
the pattern, RE points to a regex_t structure (which should have
been bzeroed). MATCH is 1 if we need to know where the regex
- matched, 0 if not. If regcomp fails, prints an error message and
+ matched, 0 if not. If xregcomp fails, prints an error message and
aborts; E1 and E2 are strings to shove into the error message.
The patterns we search for are all egrep patterns.
@@ -201,7 +201,7 @@ compile_re( pat, re, match, e1, e2 )
flags = (match ? REG_EXTENDED|REG_NEWLINE
: REG_EXTENDED|REG_NEWLINE|REG_NOSUB);
- err = regcomp (re, pat, flags);
+ err = xregcomp (re, pat, flags);
if (err)
{