From: Jonathan Wakely Date: Fri, 2 Oct 2015 13:30:03 +0000 (+0100) Subject: * system.h (malloc.h): Don't include obsolete header. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f62fa6d6945b3f11739f5fe1a3571f2021fa3a0;p=gcc.git * system.h (malloc.h): Don't include obsolete header. From-SVN: r228391 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c9aa6594276..fceb2c0e90a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-10-02 Jonathan Wakely + + * system.h (malloc.h): Don't include obsolete header. + 2015-10-02 Ramana Radhakrishnan * config/aarch64/aarch64.c (aarch64_elf_asm_named_section): Delete. diff --git a/gcc/system.h b/gcc/system.h index 71867c40137..85a66a5441a 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -481,18 +481,6 @@ extern char *stpcpy (char *, const char *); int unsetenv(const char *); #endif -#ifdef __cplusplus -} -#endif - -#ifdef HAVE_MALLOC_H -#include -#endif - -#ifdef __cplusplus -extern "C" { -#endif - #if defined (HAVE_DECL_MALLOC) && !HAVE_DECL_MALLOC extern void *malloc (size_t); #endif