summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authormerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>1994-06-18 21:51:42 +0000
committermerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>1994-06-18 21:51:42 +0000
commitd2e33c041d2f835f99cf39a03c567cb4faefb031 (patch)
tree860f64af2e846149c542e777559eb30a386877cb /gcc
parent2e13289c7153947427fc19b99c7f3230b38104de (diff)
downloadgcc-d2e33c041d2f835f99cf39a03c567cb4faefb031.tar.gz
Lose assert.h hacking
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7523 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/fixproto24
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/fixproto b/gcc/fixproto
index 4e0b50f9c50..054fd8c5905 100755
--- a/gcc/fixproto
+++ b/gcc/fixproto
@@ -329,30 +329,6 @@ for code in ALL STD ; do
done
rm -f fixtmp.c fixtmp.i
done
- # check for broken assert.h that needs stdio.h
- if test -f $abs_source_dir/assert.h -a \! -f $abs_target_dir/assert.h; then
- if grep 'stderr' $abs_source_dir/assert.h >/dev/null ; then
- if grep 'include.*stdio.h' $abs_source_dir/assert.h >/dev/null ; then
- true
- else
- echo 'Fixing broken assert.h (needs stdio.h)'
- cat $abs_source_dir/assert.h >$abs_target_dir/assert.h
- echo '#include <stdio.h>' >>$abs_target_dir/assert.h
- fi
- fi
- if grep 'exit *(' $abs_source_dir/assert.h >/dev/null ||
- grep 'abort *(' $abs_source_dir/assert.h >/dev/null ; then
- if grep 'include.*stdlib.h' $abs_source_dir/assert.h >/dev/null ; then
- true
- else
- echo 'Fixing broken assert.h (needs stdlib.h)'
- if test ! -f $abs_target_dir/assert.h ; then
- cat $abs_source_dir/assert.h >$abs_target_dir/assert.h
- fi
- echo '#include <stdlib.h>' >>$abs_target_dir/assert.h
- fi
- fi
- fi
done_dirs="$done_dir $rel_source_dir"
done