From: bernhardheld Date: Sat, 8 Nov 2003 09:29:11 +0000 (+0000) Subject: * device/include/stdlib.h: include malloc.h to comply with ANSI X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=aad38c2eb4366968b669901e8e390e05863f6637;p=fw%2Fsdcc * device/include/stdlib.h: include malloc.h to comply with ANSI * 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 --- diff --git a/ChangeLog b/ChangeLog index 3c241119..afe36a8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-11-08 Bernhard Held + + * 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 * doc/Makefile: sdccman.pdf should build with correct references (more info in commit msg) @@ -24,7 +29,7 @@ 2003-11-06 Erik Petrich * 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 diff --git a/device/include/stdlib.h b/device/include/stdlib.h index c267b63a..550a67aa 100644 --- a/device/include/stdlib.h +++ b/device/include/stdlib.h @@ -29,6 +29,8 @@ # define NULL (void *)0 #endif +#include + extern float atof (char *); extern int atoi (char *); extern long atol (char *); diff --git a/support/regression/tests/malloc.c b/support/regression/tests/malloc.c index 9d91a857..1f19501d 100644 --- a/support/regression/tests/malloc.c +++ b/support/regression/tests/malloc.c @@ -1,7 +1,7 @@ /* Simple malloc tests. */ #include -#include +#include /* PENDING */ #if defined(__gbz80) || defined(__z80) || defined(__GNUC__)