aboutsummaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@rabi.columbia.edu>1999-04-16 19:52:44 +0000
committerZack Weinberg <zack@gcc.gnu.org>1999-04-16 19:52:44 +0000
commit2a611d21ac06af33998ac48328847e23ded6b59d (patch)
tree06e7f5db783744cf670101812a22a46a3d9482ea /gcc/protoize.c
parentbf69fb7efcf26ee27067c3225c8ce705ee357c5d (diff)
downloadgcc-2a611d21ac06af33998ac48328847e23ded6b59d.zip
gcc-2a611d21ac06af33998ac48328847e23ded6b59d.tar.gz
gcc-2a611d21ac06af33998ac48328847e23ded6b59d.tar.bz2
system.h: Always prototype abort.
1999-04-16 22:44 -0400 Zack Weinberg <zack@rabi.columbia.edu> * system.h: Always prototype abort. Prototype fatal. Define abort to call fatal, not fprintf/exit. Define a stub macro for trim_filename. * toplev.c: Define DIR_SEPARATOR. (trim_filename): New function. * toplev.h: Prototype trim_filename, and #undef system.h's stub. * gcc.c, genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c, genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c: Make fatal non-static. * gcov.c, gengenrtl.c, protoize.c: #undef abort after including system.h. * config/i386/dgux.h, config/m68k/xm-amix.h: Remove stale code relating to abort. From-SVN: r26511
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r--gcc/protoize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index 3c5ee62..7e9205c 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -59,6 +59,7 @@ Boston, MA 02111-1307, USA. */
#include "system.h"
#include "intl.h"
+#undef abort
#if ! defined (_WIN32) || defined (__CYGWIN__) || defined (_UWIN)
#if defined(POSIX) || defined(CONCURRENT)