This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch] jawt.c
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Java Patches <java-patches at gcc dot gnu dot org>
- Date: Thu, 02 Jun 2005 01:37:53 +0200
- Subject: [patch] jawt.c
Hello,
this patch reoves the malloc.h include. This should be covered by
including stdlib.h on up-to-date systems. This patch should maybe also
applied on branch-4.0.x with some mods. (Include stdlib.h, remove malloc.h)
Ok for main?
Andreas
2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
* jawt.c: Remove malloc.h, covered by stdlib.h.
Index: jawt.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jawt.c,v
retrieving revision 1.5
diff -u -r1.5 jawt.c
--- jawt.c 18 May 2005 14:20:51 -0000 1.5
+++ jawt.c 1 Jun 2005 23:32:10 -0000
@@ -40,7 +40,6 @@
#include <jawt.h>
#include <jawt_md.h>
#include "classpath_jawt.h"
-#include <malloc.h>
static jint (JNICALL _Jv_Lock) (JAWT_DrawingSurface* surface);
static void (JNICALL _Jv_Unlock) (JAWT_DrawingSurface* surface);