diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-27 00:10:15 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-27 00:10:15 +0000 |
commit | 581137123bdfa322c7fff571b4f903648a4f8125 (patch) | |
tree | 63b2be32f6dd38bcf17d841c48e044c5c31d50cb /gcc/gen-protos.c | |
parent | d4800e6e121978b5a68ab8fca5a5667226a137cb (diff) | |
download | gcc-581137123bdfa322c7fff571b4f903648a4f8125.tar.gz |
* Makefile.in (STMP_FIXINC): New toggle.
(LIBGCC2_DEPS): Delete all references.
(stmp-headers): Delete target. All references either deleted
or changed to stmp-int-headers.
(all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
(LIBCPP_OBJS): Take out cppalloc.o.
(cppalloc.o): Delete target.
(stmp-int-hdrs): Depend on $(STMP_FIXINC).
(gen-protos, fix-header): Link with libiberty.a.
* build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
to empty.
* cp/Make-lang.in: Delete refs to LIBGCC2_DEPS.
* configure.in: Remove refs to strerror.
* acconfig.h: Take out NEED_DECLARATION_STRERROR.
* system.h: Take out strerror stanza.
* cpperror.c (my_strerror): Delete function.
(cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
* cppmain.c (main): Call xmalloc_set_program_name first thing.
* cppalloc.c: Delete file.
* gen-protos.c: Don't provide xrealloc.
* fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
xstrerror throughout.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32200 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gen-protos.c')
-rw-r--r-- | gcc/gen-protos.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/gen-protos.c b/gcc/gen-protos.c index 4858b4f6bb7..0bf6ea9d87c 100644 --- a/gcc/gen-protos.c +++ b/gcc/gen-protos.c @@ -192,21 +192,3 @@ main (argc, argv) return 0; } - -/* Needed by scan.o. We can't use libiberty here. */ -PTR -xrealloc (p, s) - PTR p; - size_t s; -{ - PTR r; - if (s == 0) - s = 1; - if (p) - r = realloc (p, s); - else - r = malloc (s); - if (!r) - abort (); - return r; -} |