diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-04-01 09:45:31 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-04-01 09:45:31 -0500 |
commit | 9e5a8d476079690e0c7623e794b6f6d99de02429 (patch) | |
tree | bbe73d348e524792d52d220b597ffc0e1e4202ee /gcc/fixinc.winnt | |
parent | b2d189f4f5d3519f0fe3498e2a243f4a4d7c223c (diff) | |
download | gcc-9e5a8d476079690e0c7623e794b6f6d99de02429.tar.gz |
Remove unneeded fixes relating to __stdcall.
From-SVN: r9287
Diffstat (limited to 'gcc/fixinc.winnt')
-rw-r--r-- | gcc/fixinc.winnt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/fixinc.winnt b/gcc/fixinc.winnt index c928675739f..633d3eb7bb9 100644 --- a/gcc/fixinc.winnt +++ b/gcc/fixinc.winnt @@ -106,7 +106,7 @@ while [ $# != 0 ]; do echo 'Checking header files:' for file in $files; do echo $file - if egrep "!__STDC__|__stdcall|__cdecl" $file >NUL; then + if egrep "!__STDC__" $file >NUL; then if [ -r $file ]; then cp $file $2/$file >NUL 2>&1 || echo "Can't copy $file" chmod +w,a+r $2/$file @@ -119,8 +119,6 @@ while [ $# != 0 ]; do sed -e ' s/!__STDC__/!defined (__STRICT_ANSI__)/g - s/__stdcall/__attribute__((stdcall))/g - s/__cdecl/__attribute__((cdecl))/g ' $2/$file > $2/$file.sed mv $2/$file.sed $2/$file if cmp $file $2/$file >NUL 2>&1; then |