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/system.h | |
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/system.h')
-rw-r--r-- | gcc/system.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/system.h b/gcc/system.h index 06ef2c8..cdbcf9d 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -399,17 +399,6 @@ extern PTR calloc PARAMS ((size_t, size_t)); extern PTR realloc PARAMS ((PTR, size_t)); #endif -#ifdef HAVE_STRERROR -# ifdef NEED_DECLARATION_STRERROR -# ifndef strerror -extern char *strerror PARAMS ((int)); -# endif -# endif -#else /* ! HAVE_STRERROR */ -extern int sys_nerr; -extern char *sys_errlist[]; -#endif /* HAVE_STRERROR */ - /* If the system doesn't provide strsignal, we get it defined in libiberty but no declaration is supplied. */ #ifdef NEED_DECLARATION_STRSIGNAL |