aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc/gnu-regex.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-01-26 07:37:30 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-01-26 07:37:30 +0000
commitcef40e9fa4dd4e57384cc870db87d1e9cf4d7e97 (patch)
tree22d7cebda0f0df0e26c99085bb1b9a145a0cc4b1 /gcc/fixinc/gnu-regex.c
parent3f50679d00307a2f2cb9ee98d1891b1d95fc53ba (diff)
downloadgcc-cef40e9fa4dd4e57384cc870db87d1e9cf4d7e97.zip
gcc-cef40e9fa4dd4e57384cc870db87d1e9cf4d7e97.tar.gz
gcc-cef40e9fa4dd4e57384cc870db87d1e9cf4d7e97.tar.bz2
Makefile.in (machname.h): SunOS 4 sed can't handle a file with one line and no trailing newline.
* fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a file with one line and no trailing newline. Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>. * fixinc/fixtests.c (machine_name_test): Fix fencepost error checking if the match is on the line. * fixinc/gnu-regex.c: Provide regerror not __regerror. From-SVN: r31628
Diffstat (limited to 'gcc/fixinc/gnu-regex.c')
-rw-r--r--gcc/fixinc/gnu-regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fixinc/gnu-regex.c b/gcc/fixinc/gnu-regex.c
index 007aec1..553942b 100644
--- a/gcc/fixinc/gnu-regex.c
+++ b/gcc/fixinc/gnu-regex.c
@@ -5745,7 +5745,7 @@ weak_alias (__regexec, regexec)
from either regcomp or regexec. We don't use PREG here. */
size_t
-__regerror (errcode, preg, errbuf, errbuf_size)
+regerror (errcode, preg, errbuf, errbuf_size)
int errcode;
const regex_t *preg;
char *errbuf;