diff options
author | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-08-24 08:52:38 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-08-24 08:52:38 +0000 |
commit | d46cd2be374fa3791edc5f69cb2731b9bae11af3 (patch) | |
tree | dc21d420da1f4ce06fadab2eee4118eed2b25f30 /gcc/protoize.c | |
parent | 748fa2945501ba05567634ebf81b57dfe990504d (diff) | |
download | gcc-d46cd2be374fa3791edc5f69cb2731b9bae11af3.zip gcc-d46cd2be374fa3791edc5f69cb2731b9bae11af3.tar.gz gcc-d46cd2be374fa3791edc5f69cb2731b9bae11af3.tar.bz2 |
Makefile.in (PROTO_OBJS): Add errors.o.
* Makefile.in (PROTO_OBJS): Add errors.o.
* protoize.c (fancy_abort): Remove.
* mips-tfile.c (fancy_abort): Add parameters.
From-SVN: r86471
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r-- | gcc/protoize.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c index 0dd91e2..937f21c 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -75,7 +75,6 @@ static void usage (void) ATTRIBUTE_NORETURN; static void aux_info_corrupted (void) ATTRIBUTE_NORETURN; static void declare_source_confusing (const char *) ATTRIBUTE_NORETURN; static const char *shortpath (const char *, const char *); -extern void fancy_abort (void) ATTRIBUTE_NORETURN; static void notice (const char *, ...) ATTRIBUTE_PRINTF_1; static char *savestring (const char *, unsigned int); static char *dupnstr (const char *, size_t); @@ -525,15 +524,6 @@ savestring (const char *input, unsigned int size) return output; } -/* More 'friendly' abort that prints the line and file. - config.h can #define abort fancy_abort if you like that sort of thing. */ - -void -fancy_abort (void) -{ - notice ("%s: internal abort\n", pname); - exit (FATAL_EXIT_CODE); -} /* Make a duplicate of the first N bytes of a given string in a newly allocated area. */ |