From 34ca9541e706330f52d63cb1fde4adaf65c1775e Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Wed, 14 Apr 1999 09:40:56 +0000 Subject: cpperror.c, [...]: Never call abort. 1999-04-14 12:37 -0400 Zack Weinberg * cpperror.c, cppexp.c, cpplib.c: Never call abort. * cpphash.c: Only call abort when we detect corruption of the malloc arena. * cppmain.c: Don't define fatal or fancy_abort. From-SVN: r26442 --- gcc/cppmain.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'gcc/cppmain.c') diff --git a/gcc/cppmain.c b/gcc/cppmain.c index 5e3ed90..5142cad 100644 --- a/gcc/cppmain.c +++ b/gcc/cppmain.c @@ -37,24 +37,6 @@ char *progname; cpp_reader parse_in; cpp_options options; -#ifdef abort -/* More 'friendly' abort that prints the line and file. - config.h can #define abort fancy_abort if you like that sort of thing. */ -void -fatal (s) - char *s; -{ - fputs (s, stderr); - exit (FATAL_EXIT_CODE); -} - -void -fancy_abort () -{ - fatal ("Internal gcc abort."); -} -#endif - int main (argc, argv) -- cgit v1.1