summaryrefslogtreecommitdiff
path: root/gcc/fixincludes
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-09-12 16:42:15 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-09-12 16:42:15 +0000
commit16df8e69719c867cd9ff6775924009c17d13d3ec (patch)
treea760ea7eb9369cf12561557a9f49936b7ccbcbc7 /gcc/fixincludes
parent0102a8eb46ea798365b04c2aef5d18229d22cfa3 (diff)
downloadgcc-16df8e69719c867cd9ff6775924009c17d13d3ec.tar.gz
(curses.h): typedef bool need not take up entire line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10321 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixincludes')
-rwxr-xr-xgcc/fixincludes4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index 7ab732529f8..b688ee27710 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