diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-04-21 11:58:11 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-04-21 11:58:11 +0000 |
commit | bc8e71890d8c767a2db05eadf32db28deafe86f7 (patch) | |
tree | d285e86dffc0ed9da0800e53dd4f174b2d2db346 /gcc/gen-protos.c | |
parent | f2f4980f6dab2c1bf9fe8105853fd0e9705bb4fc (diff) | |
download | gcc-bc8e71890d8c767a2db05eadf32db28deafe86f7.tar.gz |
1999-04-21 14:55 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* gen-protos.c: #undef abort after including system.h.
Delete defns of fancy_abort and fatal.
* fix-header.c: Delete defn of fancy_abort.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26576 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gen-protos.c')
-rw-r--r-- | gcc/gen-protos.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/gcc/gen-protos.c b/gcc/gen-protos.c index 08b7ea85ddc..10850353153 100644 --- a/gcc/gen-protos.c +++ b/gcc/gen-protos.c @@ -20,6 +20,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "scan.h" #include "cpplib.h" #include "cpphash.h" +#undef abort int verbose = 0; char *progname; @@ -182,21 +183,3 @@ main (argc, argv) return 0; } - -/* 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 (); -} - -void -fatal (s) - char *s; -{ - fprintf (stderr, "%s: %s\n", "gen-protos", s); - exit (FATAL_EXIT_CODE); -} |