[kaffe] CVS kaffe (guilhem): Fixed some warnings.

Kaffe CVS cvs-commits at kaffe.org
Tue Mar 30 09:39:02 PST 2004


PatchSet 4601 
Date: 2004/03/30 17:14:45
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Fixed some warnings.

Members: 
	ChangeLog:1.2178->1.2179 
	kaffe/kaffeh/mem.c:1.4->1.5 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2178 kaffe/ChangeLog:1.2179
--- kaffe/ChangeLog:1.2178	Tue Mar 30 16:05:33 2004
+++ kaffe/ChangeLog	Tue Mar 30 17:14:45 2004
@@ -1,5 +1,10 @@
 2004-03-30  Guilhem Lavaux <guilhem at kaffe.org>
 
+	* kaffe/kaffeh/mem.c: Added missing NULLs. Added errors.h and removed
+	prototype for postExceptionMessage.
+
+2004-03-30  Guilhem Lavaux <guilhem at kaffe.org>
+
 	* libraries/javalib/java/text/CollationElementIterator.java:
 	Fixed an infinite loop.
 
Index: kaffe/kaffe/kaffeh/mem.c
diff -u kaffe/kaffe/kaffeh/mem.c:1.4 kaffe/kaffe/kaffeh/mem.c:1.5
--- kaffe/kaffe/kaffeh/mem.c:1.4	Mon Mar 29 20:24:29 2004
+++ kaffe/kaffe/kaffeh/mem.c	Tue Mar 30 17:14:46 2004
@@ -16,6 +16,7 @@
 #include "gtypes.h"
 #include "gc.h"
 #include "debug.h"
+#include "errors.h"
 
 struct _Collector;
 struct _errorInfo;
@@ -28,7 +29,6 @@
 static void* gcRealloc(struct _Collector*, void*, size_t, gc_alloc_type_t);
 static void  gcFree(struct _Collector*, void*);
 
-extern void postExceptionMessage(struct _errorInfo *e, const char *name, const char *msgfmt, ...) PRINTFFORMAT(3,4);
 /*
  * We use a very simple 'fake' garbage collector interface
  */
@@ -49,6 +49,14 @@
 	NULL,
 	NULL,
 	NULL,
+	NULL,
+	NULL,
+	NULL,
+	NULL,
+	NULL,
+	NULL,
+	NULL,
+	NULL
 };
 
 struct _Collector c = { & GC_Ops }, *main_collector = &c;




More information about the kaffe mailing list