summaryrefslogtreecommitdiffstats
path: root/gcc/genrecog.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-16 19:52:44 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-16 19:52:44 +0000
commitef5ed00c36d75e8f60216dbeb29f5f266837ab0d (patch)
tree06e7f5db783744cf670101812a22a46a3d9482ea /gcc/genrecog.c
parente4e9a13904463f0b319835dfab2a8f926021165e (diff)
downloadppe42-gcc-ef5ed00c36d75e8f60216dbeb29f5f266837ab0d.tar.gz
ppe42-gcc-ef5ed00c36d75e8f60216dbeb29f5f266837ab0d.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26511 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genrecog.c')
-rw-r--r--gcc/genrecog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/genrecog.c b/gcc/genrecog.c
index f1359470b6b..546f922cccb 100644
--- a/gcc/genrecog.c
+++ b/gcc/genrecog.c
@@ -193,7 +193,7 @@ static void write_tree PROTO((struct decision *, const char *,
struct decision *, int,
enum routine_type));
static void change_state PROTO((const char *, const char *, int));
-static void fatal PVPROTO((const char *, ...))
+void fatal PVPROTO((const char *, ...))
ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;
void fancy_abort PROTO((void)) ATTRIBUTE_NORETURN;
@@ -1697,7 +1697,7 @@ xmalloc (size)
return val;
}
-static void
+void
fatal VPROTO ((const char *format, ...))
{
#ifndef ANSI_PROTOTYPES
OpenPOWER on IntegriCloud