This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: silence warnings from makedoc


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
 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]