Commit 5f01b2d5 by Richard Kenner

(curses.h): typedef bool need not take up entire line.

From-SVN: r10321
parent 872d777b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment