summaryrefslogtreecommitdiff
path: root/gcc/fixinc
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-19 02:15:03 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-19 02:15:03 +0000
commit0ec8e89b1713362f11fe48b93a9d2b26a2c472c8 (patch)
treeb131e56260d97c03a386df5835ce14235f2ab6cd /gcc/fixinc
parenta2ca67315e3e80208de3fb4091f94047a98a4fed (diff)
downloadgcc-0ec8e89b1713362f11fe48b93a9d2b26a2c472c8.tar.gz
p
* fixinc/fixincl.tpl: Avoid depending on ANSI C features for filename lists. * fixinc/fixincl.x: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27017 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc')
-rw-r--r--gcc/fixinc/fixincl.tpl6
-rw-r--r--gcc/fixinc/fixincl.x7
2 files changed, 5 insertions, 8 deletions
diff --git a/gcc/fixinc/fixincl.tpl b/gcc/fixinc/fixincl.tpl
index d5d6b6448a7..b5d31701101 100644
--- a/gcc/fixinc/fixincl.tpl
+++ b/gcc/fixinc/fixincl.tpl
@@ -28,10 +28,8 @@ tSCC z[=hackname _cap=]Name[] =
*/[=
_IF files _exist=]
-tSCC z[=hackname _cap=]List[] =[=
- _FOR files=]
- "|" [=files _str=][=
- /files=] "|";[=
+tSCC z[=hackname _cap=]List[] =
+ "[=_FOR files =]|[=files=][=/files=]|";[=
_ELSE =]
#define z[=hackname _cap=]List (char*)NULL[=
diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x
index 736943bbd1b..e54a5fd4d20 100644
--- a/gcc/fixinc/fixincl.x
+++ b/gcc/fixinc/fixincl.x
@@ -37,7 +37,7 @@ tSCC zAix_SyswaitName[] =
* File name selection pattern
*/
tSCC zAix_SyswaitList[] =
- "|" "sys/wait.h" "|";
+ "|sys/wait.h|";
/*
* Machine/OS name selection pattern
*/
@@ -72,7 +72,7 @@ tSCC zAix_VolatileName[] =
* File name selection pattern
*/
tSCC zAix_VolatileList[] =
- "|" "sys/signal.h" "|";
+ "|sys/signal.h|";
/*
* Machine/OS name selection pattern
*/
@@ -106,8 +106,7 @@ tSCC zAlpha_GetoptName[] =
* File name selection pattern
*/
tSCC zAlpha_GetoptList[] =
- "|" "stdio.h"
- "|" "stdlib.h" "|";
+ "|stdio.h|stdlib.h|";
/*
* Machine/OS name selection pattern
*/