aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorZack Weinberg <zack@rabi.columbia.edu>1999-04-21 11:58:11 +0000
committerZack Weinberg <zack@gcc.gnu.org>1999-04-21 11:58:11 +0000
commitb323effe6d146f8bdcb9ca4818374640f7146b33 (patch)
treed285e86dffc0ed9da0800e53dd4f174b2d2db346 /gcc
parent47e2610954aa5a519ef984e2760e2a239ec70440 (diff)
downloadgcc-b323effe6d146f8bdcb9ca4818374640f7146b33.zip
gcc-b323effe6d146f8bdcb9ca4818374640f7146b33.tar.gz
gcc-b323effe6d146f8bdcb9ca4818374640f7146b33.tar.bz2
gen-protos.c: #undef abort after including system.h.
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. From-SVN: r26576
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/fix-header.c10
-rw-r--r--gcc/gen-protos.c19
3 files changed, 7 insertions, 28 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 939d8f5..2c03468 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
Wed Apr 21 12:09:38 1999 Mumit Khan <khan@xraylith.wisc.edu>
* cccp.c (simplify_filename): Always preserve leading double slash.
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index 35942d2..dfde8e5 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -367,16 +367,6 @@ xfree (ptr)
free (ptr);
}
-/* 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 ();
-}
-
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free xfree
struct obstack scan_file_obstack;
diff --git a/gcc/gen-protos.c b/gcc/gen-protos.c
index 08b7ea8..1085035 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);
-}