diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-02-27 00:10:15 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-02-27 00:10:15 +0000 |
commit | f95e46b994d6ec4c98c05401af6c33889ce23fb0 (patch) | |
tree | 63b2be32f6dd38bcf17d841c48e044c5c31d50cb /gcc/gen-protos.c | |
parent | 42a2c30e1b583239136fab633057bb03518c26b3 (diff) | |
download | gcc-f95e46b994d6ec4c98c05401af6c33889ce23fb0.zip gcc-f95e46b994d6ec4c98c05401af6c33889ce23fb0.tar.gz gcc-f95e46b994d6ec4c98c05401af6c33889ce23fb0.tar.bz2 |
Makefile.in (STMP_FIXINC): New toggle.
* 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.
From-SVN: r32200
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 4858b4f..0bf6ea9 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; -} |