[kaffe] CVS kaffe (dalibor): Fixed gc.h index overshadowing system declartion related compiler warnings
Kaffe CVS
cvs-commits at kaffe.org
Wed Mar 24 13:36:02 PST 2004
PatchSet 4575
Date: 2004/03/24 21:22:04
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Fixed gc.h index overshadowing system declartion related compiler warnings
2004-03-24 Dalibor Topic <robilad at kaffe.org>
* kaffe/kaffevm/gc.h:
(GarbageCollectorInterface_Ops) Renamed index to gc_index
to fix compiler warnings.
Members:
ChangeLog:1.2153->1.2154
kaffe/kaffevm/gc.h:1.22->1.23
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2153 kaffe/ChangeLog:1.2154
--- kaffe/ChangeLog:1.2153 Wed Mar 24 20:49:10 2004
+++ kaffe/ChangeLog Wed Mar 24 21:22:04 2004
@@ -1,5 +1,11 @@
2004-03-24 Dalibor Topic <robilad at kaffe.org>
+ * kaffe/kaffevm/gc.h:
+ (GarbageCollectorInterface_Ops) Renamed index to gc_index
+ to fix compiler warnings.
+
+2004-03-24 Dalibor Topic <robilad at kaffe.org>
+
* config/i386/sysdepCallMethod.h:
Check if NEED_sysdepCallMethod is defined. Fixes a
compiler warning.
Index: kaffe/kaffe/kaffevm/gc.h
diff -u kaffe/kaffe/kaffevm/gc.h:1.22 kaffe/kaffe/kaffevm/gc.h:1.23
--- kaffe/kaffe/kaffevm/gc.h:1.22 Mon Mar 8 21:21:08 2004
+++ kaffe/kaffe/kaffevm/gc.h Wed Mar 24 21:22:05 2004
@@ -121,10 +121,10 @@
const void* addr, uint32 length);
void (*registerFixedTypeByIndex)(Collector *,
- int index, const char *description);
+ int gc_index, const char *description);
void (*registerGcTypeByIndex)(Collector *,
- int index,
+ int gc_index,
walk_func_t walk, final_func_t final,
destroy_func_t destroy, const char
*description);
More information about the kaffe
mailing list