aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-06-30 17:13:09 +0000
committerRichard Stallman <rms@gnu.org>1993-06-30 17:13:09 +0000
commitdaa4489f7b9b74b63456374e5b48cc60205e468d (patch)
tree3589c7798f6262d565314dd1a8527471d85ac74c /gcc
parent3474db0e5e5abbb13fe33a223a7719914013d9bd (diff)
downloadgcc-daa4489f7b9b74b63456374e5b48cc60205e468d.zip
gcc-daa4489f7b9b74b63456374e5b48cc60205e468d.tar.gz
gcc-daa4489f7b9b74b63456374e5b48cc60205e468d.tar.bz2
(stdtypes.h): Verify that size_t etc. follow whitespace.
From-SVN: r4801
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/fixincludes12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index 5a66c9d..be23079 100755
--- a/gcc/fixincludes
+++ b/gcc/fixincludes
@@ -403,20 +403,20 @@ fi
if [ -r ${LIB}/$file ]; then
echo Fixing $file
-sed -e '/size_t.*;/i\
+sed -e '/[ ]size_t.*;/i\
#ifndef _GCC_SIZE_T\
#define _GCC_SIZE_T' \
- -e '/size_t.*;/a\
+ -e '/[ ]size_t.*;/a\
#endif' \
- -e '/ptrdiff_t.*;/i\
+ -e '/[ ]ptrdiff_t.*;/i\
#ifndef _GCC_PTRDIFF_T\
#define _GCC_PTRDIFF_T' \
- -e '/ptrdiff_t.*;/a\
+ -e '/[ ]ptrdiff_t.*;/a\
#endif' \
- -e '/wchar_t.*;/i\
+ -e '/[ ]wchar_t.*;/i\
#ifndef _GCC_WCHAR_T\
#define _GCC_WCHAR_T' \
- -e '/wchar_t.*;/a\
+ -e '/[ ]wchar_t.*;/a\
#endif' ${LIB}/$file > ${LIB}/${file}.sed
rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file
if cmp $file ${LIB}/$file >/dev/null 2>&1; then