From 5f62fa6d6945b3f11739f5fe1a3571f2021fa3a0 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Fri, 2 Oct 2015 14:30:03 +0100 Subject: [PATCH] * system.h (malloc.h): Don't include obsolete header. From-SVN: r228391 --- gcc/ChangeLog | 4 ++++ gcc/system.h | 12 ------------ 2 files changed, 4 insertions(+), 12 deletions(-) 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 -- 2.30.2