From: borutr Date: Fri, 7 Nov 2003 06:25:14 +0000 (+0000) Subject: * support/Util/NewAlloc.c, as/hc08/lklibr.c, as/mcs51/lklibr.c, X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=dd810d6c0617554557f418d11b074cd7b4e333ff;p=fw%2Fsdcc * support/Util/NewAlloc.c, as/hc08/lklibr.c, as/mcs51/lklibr.c, as/z80/aslist.c, as/z80/assym.c: removed inclusion of nonstandard malloc.h; malloc is declared in standard stdlib.h git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2996 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/as/hc08/lklibr.c b/as/hc08/lklibr.c index 2481d9f0..74c8c361 100644 --- a/as/hc08/lklibr.c +++ b/as/hc08/lklibr.c @@ -18,14 +18,6 @@ #define EQ(A,B) !strcmp((A),(B)) #define MAXLINE 254 /*when using fgets*/ -#if defined(__APPLE__) && defined(__MACH__) -#include -#include -#else -#ifdef HAVE_MALLOC_H -#include -#endif -#endif #include #include #include diff --git a/as/mcs51/lklibr.c b/as/mcs51/lklibr.c index 2e9bfe43..678eb303 100644 --- a/as/mcs51/lklibr.c +++ b/as/mcs51/lklibr.c @@ -18,14 +18,6 @@ #define EQ(A,B) !strcmp((A),(B)) #define MAXLINE 254 /*when using fgets*/ -#if defined(__APPLE__) && defined(__MACH__) -#include -#include -#else -#ifdef HAVE_MALLOC_H -#include -#endif -#endif #include #include #include diff --git a/as/z80/aslist.c b/as/z80/aslist.c index 997bb4c9..8fc66535 100644 --- a/as/z80/aslist.c +++ b/as/z80/aslist.c @@ -17,14 +17,6 @@ #include #include #include -#if defined(__APPLE__) && defined(__MACH__) -#include -#include -#else -#ifdef HAVE_MALLOC_H -#include -#endif -#endif #include "asm.h" diff --git a/as/z80/assym.c b/as/z80/assym.c index 3a9ac0a4..04cbc7da 100644 --- a/as/z80/assym.c +++ b/as/z80/assym.c @@ -13,14 +13,6 @@ #include #include #include -#if defined(__APPLE__) && defined(__MACH__) -#include -#include -#else -#ifdef HAVE_MALLOC_H -#include -#endif -#endif #include "asm.h" /*)Module assym.c diff --git a/support/Util/NewAlloc.c b/support/Util/NewAlloc.c index 86e78e43..fb8a180a 100644 --- a/support/Util/NewAlloc.c +++ b/support/Util/NewAlloc.c @@ -28,13 +28,6 @@ functions. */ #include -#if defined(__APPLE__) && defined(__MACH__) -#include -#else -#ifdef HAVE_MALLOC_H -#include -#endif -#endif #include #include #include