diff options
author | Richard Stallman <rms@gnu.org> | 1993-11-11 15:53:02 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-11-11 15:53:02 +0000 |
commit | 629b20e2000426b43ef5c280f5a3df2cc5ef23cb (patch) | |
tree | 5bcc2bbf00bda7ca01a5c54d072dbec67187f5ea /gcc/gen-protos.c | |
parent | 10b8b0ba6971847336e0368bd2cdb62fe352767b (diff) | |
download | gcc-629b20e2000426b43ef5c280f5a3df2cc5ef23cb.zip gcc-629b20e2000426b43ef5c280f5a3df2cc5ef23cb.tar.gz gcc-629b20e2000426b43ef5c280f5a3df2cc5ef23cb.tar.bz2 |
(fancy_abort): New function.
From-SVN: r6072
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 a5499d4..b4aa191 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; } |