summaryrefslogtreecommitdiff
path: root/gcc/cppmain.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-14 09:40:56 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-14 09:40:56 +0000
commit47e49e31956f101e1854d3d9c4c60b7d8ba227b7 (patch)
tree5c0f7e812107a4a1edffd2adab583d43d11252a1 /gcc/cppmain.c
parentaa1275a321e5f5b881b927fd7040fdc1104288a9 (diff)
downloadgcc-47e49e31956f101e1854d3d9c4c60b7d8ba227b7.tar.gz
1999-04-14 12:37 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26442 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r--gcc/cppmain.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c
index 5e3ed90f5b3..5142cad918f 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)