aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-09-12 12:42:15 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-09-12 12:42:15 -0400
commit5f01b2d515c96d2feb694a7f0feaaa29eb3c0939 (patch)
treea760ea7eb9369cf12561557a9f49936b7ccbcbc7 /gcc
parent872d777bb16e7f39cb5c083edab9e4cfa8f58131 (diff)
downloadgcc-5f01b2d515c96d2feb694a7f0feaaa29eb3c0939.zip
gcc-5f01b2d515c96d2feb694a7f0feaaa29eb3c0939.tar.gz
gcc-5f01b2d515c96d2feb694a7f0feaaa29eb3c0939.tar.bz2
(curses.h): typedef bool need not take up entire line.
From-SVN: r10321
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/fixincludes4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index 7ab7325..b688ee2 100755
--- a/gcc/fixincludes
+++ b/gcc/fixincludes
@@ -1969,9 +1969,9 @@ for files in curses.h; do
#ifndef __cplusplus'\
-e '/^#[ ]*define[ ][ ]*bool[ ][ ]*char[ ]*$/a\
#endif'\
- -e '/^typedef[ ][ ]*char[ ][ ]*bool[ ]*;[ ]*$/i\
+ -e '/^typedef[ ][ ]*char[ ][ ]*bool[ ]*;/i\
#ifndef __cplusplus'\
- -e '/^typedef[ ][ ]*char[ ][ ]*bool[ ]*;[ ]*$/a\
+ -e '/^typedef[ ][ ]*char[ ][ ]*bool[ ]*;/a\
#endif'\
${LIB}/$file > ${LIB}/${file}.sed
rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file