From: redi Date: Fri, 2 Oct 2015 13:30:03 +0000 (+0000) Subject: * system.h (malloc.h): Don't include obsolete header. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e98c90e16bc3c6036ac0962e5657d8882d4afa21;p=thirdparty%2Fgcc.git * system.h (malloc.h): Don't include obsolete header. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228391 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c9aa65942764..fceb2c0e90ad 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 71867c401374..85a66a5441ac 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