* system.h (malloc.h): Don't include obsolete header.
authorJonathan Wakely <jwakely@redhat.com>
Fri, 2 Oct 2015 13:30:03 +0000 (14:30 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 2 Oct 2015 13:30:03 +0000 (14:30 +0100)
From-SVN: r228391

gcc/ChangeLog
gcc/system.h

index c9aa659427645093eed98dd8bf6480217fadd359..fceb2c0e90adf8913c2a539724fc7cd0613115a5 100644 (file)
@@ -1,3 +1,7 @@
+2015-10-02  Jonathan Wakely  <jwakely@redhat.com>
+
+       * system.h (malloc.h): Don't include obsolete header.
+
 2015-10-02  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
 
        * config/aarch64/aarch64.c (aarch64_elf_asm_named_section): Delete.
index 71867c4013743f6d350d46a2992c71556e9089ab..85a66a5441ac90860feb18b7dc2bae46d9f01d6b 100644 (file)
@@ -481,18 +481,6 @@ extern char *stpcpy (char *, const char *);
 int unsetenv(const char *);
 #endif
 
-#ifdef __cplusplus
-}
-#endif
-
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #if defined (HAVE_DECL_MALLOC) && !HAVE_DECL_MALLOC
 extern void *malloc (size_t);
 #endif