This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch] fixx implicit in jawt.c
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Java Patches <java-patches at gcc dot gnu dot org>
- Date: Fri, 04 Mar 2005 17:31:40 +0100
- Subject: [patch] fixx implicit in jawt.c
Hello,
this one fixes an implict declaration of malloc.
ok for main?
Andreas
2005-03-04 Andreas Tobler <a.tobler@schweiz.ch>
* jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
Index: jawt.c
===================================================================
RCS file: /cvs/gcc/gcc/libjava/jawt.c,v
retrieving revision 1.2
diff -u -r1.2 jawt.c
--- jawt.c 14 Feb 2005 21:08:07 -0000 1.2
+++ jawt.c 4 Mar 2005 16:29:27 -0000
@@ -7,7 +7,7 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-
+
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
@@ -35,7 +35,7 @@
obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */
-
+#include <stdlib.h>
#include <jni.h>
#include <jawt.h>
#include <jawt_md.h>