* device/include/stdlib.h: include malloc.h to comply with ANSI
authorbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 8 Nov 2003 09:29:11 +0000 (09:29 +0000)
committerbernhardheld <bernhardheld@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 8 Nov 2003 09:29:11 +0000 (09:29 +0000)
* support/regression/tests/malloc.c: include stdlib.h instead of malloc.h

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3003 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
device/include/stdlib.h
support/regression/tests/malloc.c

index 3c2411190c8a63a8c2e783b9b6ea68453fa064b0..afe36a8a7acc99188c3c6786888f21c0ffe5691b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-08 Bernhard Held <bernhard@bernhardheld.de>
+
+       * device/include/stdlib.h: include malloc.h to comply with ANSI
+       * support/regression/tests/malloc.c: include stdlib.h instead of malloc.h
+
 2003-11-07 Frieder Ferlemann <Frieder.Ferlemann@web.de>
 
        * doc/Makefile: sdccman.pdf should build with correct references (more info in commit msg)
@@ -24,7 +29,7 @@
 2003-11-06 Erik Petrich <epetrich@ivorytower.norman.ok.us>
 
        * device/lib/hc08/Makefile: need to clean .rel not .o files
-       * src/hc08/gen.c (genDjnz): can't use djnz with extended addressing mode        
+       * src/hc08/gen.c (genDjnz): can't use djnz with extended addressing mode
 
 2003-11-06 Erik Petrich <epetrich@ivorytower.norman.ok.us>
 
index c267b63afb9890181ad4716fd0724c27daa44d23..550a67aae3f6c8fd0de81065a76c796d918f5077 100644 (file)
@@ -29,6 +29,8 @@
 # define NULL (void *)0
 #endif
 
+#include <malloc.h>
+
 extern float atof (char *);
 extern int atoi (char *);
 extern long atol (char *);
index 9d91a857c5f79aa1c1d786b8253e4c4fca9151cc..1f19501d95a0c1c82c674a913bffefd919419c76 100644 (file)
@@ -1,7 +1,7 @@
 /* Simple malloc tests.
  */
 #include <testfwk.h>
-#include <malloc.h>
+#include <stdlib.h>
 
 /* PENDING */
 #if defined(__gbz80) || defined(__z80) || defined(__GNUC__)