[patch] jawt.c

Andreas Tobler toa@pop.agri.ch
Wed Jun 1 23:46:00 GMT 2005


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);



More information about the Java-patches mailing list