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/system.h | |
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/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 06ef2c82a48..cdbcf9d62c1 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 |