PATCH: silence warnings from makedoc

Ben Elliston bje@au1.ibm.com
Sun Dec 24 01:17:00 GMT 2006


The makedoc sources are quite dusty.  :-)
Okay for mainline?


2006-12-22  Ben Elliston  <bje@au.ibm.com>

        * doc/makedoc.c: Include <stdlib.h>.
        (malloc, realloc): Remove extern declarations.

Index: makedoc.c
===================================================================
RCS file: /cvs/src/src/newlib/doc/makedoc.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 makedoc.c
--- makedoc.c   17 Feb 2000 19:39:46 -0000      1.1.1.1
+++ makedoc.c   21 Dec 2006 22:34:34 -0000
@@ -37,11 +37,9 @@
 
 #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
 




More information about the Newlib mailing list