diff options
author | Eli Zaretskii <eliz@is.elta.co.il> | 2000-08-23 17:03:47 +0300 |
---|---|---|
committer | Bruce Korb <korbb@gcc.gnu.org> | 2000-08-23 14:03:47 +0000 |
commit | f4306baa736b7b556d969f439af5768d13e91cde (patch) | |
tree | 269ecb4b84d370654dbca3496ab0cc5d4c608a38 /gcc/fixinc/fixincl.x | |
parent | ed4befff9aaaa4b193c89f9a99c5eadc8f5aa10e (diff) | |
download | gcc-f4306baa736b7b556d969f439af5768d13e91cde.zip gcc-f4306baa736b7b556d969f439af5768d13e91cde.tar.gz gcc-f4306baa736b7b556d969f439af5768d13e91cde.tar.bz2 |
Fix sed script for sysv86_string fix
From-SVN: r35908
Diffstat (limited to 'gcc/fixinc/fixincl.x')
-rw-r--r-- | gcc/fixinc/fixincl.x | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x index 14c697f..746a5e3 100644 --- a/gcc/fixinc/fixincl.x +++ b/gcc/fixinc/fixincl.x @@ -4217,12 +4217,12 @@ const char* apzSysv68_StringPatch[] = { "sed", "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/", "-e", "/^extern char$/N", "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/", + "-e", "/^extern int$/N", + "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/", "-e", "/^\tstrncmp(),$/N", "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\ extern unsigned int\\\n\ \\2/", - "-e", "/^extern int$/N", - "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/", (char*)NULL }; /* * * * * * * * * * * * * * * * * * * * * * * * * * |