diff options
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/doc/makedoc.c | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 34742dd1a..bf86d1a05 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2007-01-02 Ben Elliston <bje@au.ibm.com> + + * doc/makedoc.c: Include <stdlib.h>. + (malloc, realloc): Remove extern declarations. + 2005-12-18 Jeff Johnston <jjohnstn@redhat.com> * NEWS: Update with 1.15.0 info. diff --git a/newlib/doc/makedoc.c b/newlib/doc/makedoc.c index 12dfc90dd..00ff75c42 100644 --- a/newlib/doc/makedoc.c +++ b/newlib/doc/makedoc.c @@ -37,11 +37,9 @@ There is no #include "ansidecl.h" #include <stdio.h> +#include <stdlib.h> #include <ctype.h> -extern PTR malloc(); -extern PTR realloc(); - #define DEF_SIZE 5000 #define STACK 50 |