[kaffe] CVS kaffe (robilad): small cleanup

Kaffe CVS cvs-commits at kaffe.org
Wed Mar 8 18:22:57 PST 2006


PatchSet 7148 
Date: 2006/03/09 02:14:03
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small cleanup

2006-03-09  Dalibor Topic  <robilad at kaffe.org>

* kaffe/kaffevm/thread.c (linkNativeAndJavaThread),
libraries/clib/net/NetworkInterface.c (detectInterfaces),
kaffe/kaffevm/systems/win32/winthread.c (jthread_create):
Renamed Hkaffe_util_Ptr to Horg_kaffe_util_Ptr to fix compiler
warnings.

Members: 
	ChangeLog:1.4666->1.4667 
	kaffe/kaffevm/thread.c:1.106->1.107 
	kaffe/kaffevm/systems/win32/winthread.c:1.5->1.6 
	libraries/clib/net/NetworkInterface.c:1.14->1.15 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4666 kaffe/ChangeLog:1.4667
--- kaffe/ChangeLog:1.4666	Thu Mar  9 01:58:05 2006
+++ kaffe/ChangeLog	Thu Mar  9 02:14:03 2006
@@ -1,5 +1,13 @@
 2006-03-09  Dalibor Topic  <robilad at kaffe.org>
 
+	* kaffe/kaffevm/thread.c (linkNativeAndJavaThread),
+	libraries/clib/net/NetworkInterface.c (detectInterfaces),
+	kaffe/kaffevm/systems/win32/winthread.c (jthread_create):
+	Renamed Hkaffe_util_Ptr to Horg_kaffe_util_Ptr to fix compiler
+	warnings.
+
+2006-03-09  Dalibor Topic  <robilad at kaffe.org>
+
 	* libraries/clib/native/String.c (java_lang_String_intern0): 
 	Added cast to remove constness from interned string and fix
 	a compiler warning.
Index: kaffe/kaffe/kaffevm/thread.c
diff -u kaffe/kaffe/kaffevm/thread.c:1.106 kaffe/kaffe/kaffevm/thread.c:1.107
--- kaffe/kaffe/kaffevm/thread.c:1.106	Sun Jan  1 18:28:55 2006
+++ kaffe/kaffe/kaffevm/thread.c	Thu Mar  9 02:14:07 2006
@@ -91,7 +91,7 @@
 	threadData *thread_data = KTHREAD(get_data)(thread);
 
 	thread_data->jlThread = jlThread;
-	unhand (jlThread)->vmdata = (struct Hkaffe_util_Ptr *)thread;
+	unhand (jlThread)->vmdata = (struct Horg_kaffe_util_Ptr *)thread;
 
 	thread_data->jnireferences = NULL;
 	thread_data->jniEnv = &Kaffe_JNINativeInterface;
Index: kaffe/kaffe/kaffevm/systems/win32/winthread.c
diff -u kaffe/kaffe/kaffevm/systems/win32/winthread.c:1.5 kaffe/kaffe/kaffevm/systems/win32/winthread.c:1.6
--- kaffe/kaffe/kaffevm/systems/win32/winthread.c:1.5	Sat May 14 21:46:40 2005
+++ kaffe/kaffe/kaffevm/systems/win32/winthread.c	Thu Mar  9 02:14:07 2006
@@ -145,7 +145,7 @@
 	nativeThread* ptr;
 
 	ptr = (nativeThread*)gc_malloc_fixed(sizeof(nativeThread));
-	// unhand(tid)->PrivateInfo = (struct Hkaffe_util_Ptr*)ptr;
+	// unhand(tid)->PrivateInfo = (struct Horg_kaffe_util_Ptr*)ptr;
 
 	ptr->func = (void(*)(void))func;
 	ptr->hand = CreateThread(NULL, stacksz,
Index: kaffe/libraries/clib/net/NetworkInterface.c
diff -u kaffe/libraries/clib/net/NetworkInterface.c:1.14 kaffe/libraries/clib/net/NetworkInterface.c:1.15
--- kaffe/libraries/clib/net/NetworkInterface.c:1.14	Wed Oct 19 20:10:40 2005
+++ kaffe/libraries/clib/net/NetworkInterface.c	Thu Mar  9 02:14:08 2006
@@ -31,13 +31,13 @@
 static struct ifaddrs*
 detectInterfaces(void)
 {
-  struct Hkaffe_util_Ptr *retval = NULL;
+  struct Horg_kaffe_util_Ptr *retval = NULL;
   struct ifaddrs *ifa;
   errorInfo einfo;
   
   if( getifaddrs(&ifa) == 0 )
     {
-      retval = (struct Hkaffe_util_Ptr *)ifa;
+      retval = (struct Horg_kaffe_util_Ptr *)ifa;
     }
   else
     {




More information about the kaffe mailing list