[kaffe] CVS kaffe (robilad): small boehm-gc warning fix

Kaffe CVS cvs-commits at kaffe.org
Sun Nov 19 10:32:29 PST 2006


PatchSet 7449 
Date: 2006/11/19 18:31:38
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small boehm-gc warning fix

2006-11-19  Dalibor Topic  <robilad at kaffe.org>

* kaffe/kaffevm/boehm-gc/gc-refs.c (KaffeGC_rmRef),
kaffe/kaffevm/boehm-gc/gc-refs.h (KaffeGC_initRefs):
Removed const qualifier from mem parameter to fix
compiler warning.

Members: 
	ChangeLog:1.4949->1.4950 
	kaffe/kaffevm/boehm-gc/gc-refs.c:1.7->1.8 
	kaffe/kaffevm/boehm-gc/gc-refs.h:1.3->1.4 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4949 kaffe/ChangeLog:1.4950
--- kaffe/ChangeLog:1.4949	Sun Nov 19 17:54:33 2006
+++ kaffe/ChangeLog	Sun Nov 19 18:31:38 2006
@@ -1,5 +1,12 @@
 2006-11-19  Dalibor Topic  <robilad at kaffe.org>
 
+	* kaffe/kaffevm/boehm-gc/gc-refs.c (KaffeGC_rmRef),
+	kaffe/kaffevm/boehm-gc/gc-refs.h (KaffeGC_initRefs):
+	Removed const qualifier from mem parameter to fix
+	compiler warning.	
+
+2006-11-19  Dalibor Topic  <robilad at kaffe.org>
+
 	* kaffe/kaffevm/boehm-gc/gc-refs.c (KaffeGC_clearWeakRef): 
 	Mark collector parameter as unused to fix compiler warning.
 
Index: kaffe/kaffe/kaffevm/boehm-gc/gc-refs.c
diff -u kaffe/kaffe/kaffevm/boehm-gc/gc-refs.c:1.7 kaffe/kaffe/kaffevm/boehm-gc/gc-refs.c:1.8
--- kaffe/kaffe/kaffevm/boehm-gc/gc-refs.c:1.7	Sun Nov 19 17:54:34 2006
+++ kaffe/kaffe/kaffevm/boehm-gc/gc-refs.c	Sun Nov 19 18:31:38 2006
@@ -161,7 +161,7 @@
  * zero then the reference is removed.
  */
 bool
-KaffeGC_rmRef(Collector *collector UNUSED, const void* mem)
+KaffeGC_rmRef(Collector *collector UNUSED, void* mem)
 {
   uint32 idx;
   strongRefObject** objp;
Index: kaffe/kaffe/kaffevm/boehm-gc/gc-refs.h
diff -u kaffe/kaffe/kaffevm/boehm-gc/gc-refs.h:1.3 kaffe/kaffe/kaffevm/boehm-gc/gc-refs.h:1.4
--- kaffe/kaffe/kaffevm/boehm-gc/gc-refs.h:1.3	Sat Oct  1 18:25:04 2005
+++ kaffe/kaffe/kaffevm/boehm-gc/gc-refs.h	Sun Nov 19 18:31:38 2006
@@ -17,7 +17,7 @@
 
 struct _Collector;
 bool KaffeGC_addRef(struct _Collector *collector, const void* mem);
-bool KaffeGC_rmRef(struct _Collector *collector, const void* mem);
+bool KaffeGC_rmRef(struct _Collector *collector, void* mem);
 bool KaffeGC_addWeakRef(struct _Collector *collector, void *mem, void **obj);
 bool KaffeGC_rmWeakRef(struct _Collector *collector, void *mem, void **obj);
 void KaffeGC_clearWeakRef(struct _Collector *collector, void *mem);




More information about the kaffe mailing list