diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-11-11 15:53:02 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-11-11 15:53:02 +0000 |
commit | 861f324736bbc81f058da06968908f155b5fee27 (patch) | |
tree | 5bcc2bbf00bda7ca01a5c54d072dbec67187f5ea /gcc/gen-protos.c | |
parent | 54244b9001e63a5807d8a06298ccb74e6bf52fb4 (diff) | |
download | gcc-861f324736bbc81f058da06968908f155b5fee27.tar.gz |
(fancy_abort): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6072 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gen-protos.c')
-rw-r--r-- | gcc/gen-protos.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/gcc/gen-protos.c b/gcc/gen-protos.c index a5499d42227..b4aa191612f 100644 --- a/gcc/gen-protos.c +++ b/gcc/gen-protos.c @@ -27,6 +27,16 @@ int verbose = 0; sstring linebuf; +/* Avoid error if config defines abort as fancy_abort. + It's not worth "really" implementing this because ordinary + compiler users never run fix-header. */ + +void +fancy_abort () +{ + abort (); +} + int main (argc, argv) int argc; @@ -109,7 +119,7 @@ main (argc, argv) /* NOTE: If you edit this, also edit lookup_std_proto in fix-header.c !! */ - i = hash(name_start) % HASH_SIZE; + i = hash (name_start) % HASH_SIZE; i0 = i; if (hash_tab[i] != 0) { @@ -117,7 +127,7 @@ main (argc, argv) { i = (i+1) % HASH_SIZE; if (i == i0) - abort(); + abort (); if (hash_tab[i] == 0) break; } |