[kaffe] CVS kaffe (guilhem): Declaration fixes.

Kaffe CVS cvs-commits at kaffe.org
Sat Jan 1 03:40:51 PST 2005


PatchSet 5739 
Date: 2005/01/01 11:35:41
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Declaration fixes.

	* kaffe/kaffevm/classMethod.h
	(protectionDomain): Changed declaration to use the right type.

	* kaffe/kaffevm/systems/unix-jthreads/jsignal.h
	(registerAsyncSignalHandler, registerSyncSignalHandler): Fixed
	declaration.

	* libraries/clib/native/ClassLoader.c
	(java_lang_VMClassLoader_defineClass): Fixed declaration.

Members: 
	ChangeLog:1.3283->1.3284 
	kaffe/kaffevm/classMethod.h:1.74->1.75 
	kaffe/kaffevm/systems/unix-jthreads/jsignal.h:1.7->1.8 
	libraries/clib/native/ClassLoader.c:1.42->1.43 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3283 kaffe/ChangeLog:1.3284
--- kaffe/ChangeLog:1.3283	Sat Jan  1 09:03:45 2005
+++ kaffe/ChangeLog	Sat Jan  1 11:35:41 2005
@@ -1,5 +1,17 @@
 2005-01-01  Guilhem Lavaux  <guilhem at kaffe.org>
 
+	* kaffe/kaffevm/classMethod.h
+	(protectionDomain): Changed declaration to use the right type.
+
+	* kaffe/kaffevm/systems/unix-jthreads/jsignal.h
+	(registerAsyncSignalHandler, registerSyncSignalHandler): Fixed
+	declaration.
+
+	* libraries/clib/native/ClassLoader.c
+	(java_lang_VMClassLoader_defineClass): Fixed declaration.
+
+2005-01-01  Guilhem Lavaux  <guilhem at kaffe.org>
+
 	* kaffe/kaffevm/intrp/methodcalls.c,
 	kaffe/kaffevm/jit/methodcalls.c
 	(engine_callMethod): Clear the return value to be sure that no
Index: kaffe/kaffe/kaffevm/classMethod.h
diff -u kaffe/kaffe/kaffevm/classMethod.h:1.74 kaffe/kaffe/kaffevm/classMethod.h:1.75
--- kaffe/kaffe/kaffevm/classMethod.h:1.74	Sat Dec 25 19:09:13 2004
+++ kaffe/kaffe/kaffevm/classMethod.h	Sat Jan  1 11:35:43 2005
@@ -170,7 +170,7 @@
 	HArrayOfObject*		signers;
 
 	/** The protection domain */
-	struct Hjava_lang_Object*	protectionDomain;
+	struct Hjava_security_ProtectionDomain*	protectionDomain;
 };
 
 #ifndef __DEFINED_CLASS
Index: kaffe/kaffe/kaffevm/systems/unix-jthreads/jsignal.h
diff -u kaffe/kaffe/kaffevm/systems/unix-jthreads/jsignal.h:1.7 kaffe/kaffe/kaffevm/systems/unix-jthreads/jsignal.h:1.8
--- kaffe/kaffe/kaffevm/systems/unix-jthreads/jsignal.h:1.7	Thu Dec 30 10:35:42 2004
+++ kaffe/kaffe/kaffevm/systems/unix-jthreads/jsignal.h	Sat Jan  1 11:35:43 2005
@@ -31,10 +31,10 @@
 #ifndef UNIXJTHREAD_SIGNAL_H
 #define UNIXJTHREAD_SIGNAL_H
 
-void registerSyncSignalHandler(int sig, void* handler);
+void *registerSyncSignalHandler(int sig, void* handler);
 void restoreSyncSignalHandler(int sig, void* handler);
 
-void registerAsyncSignalHandler(int sig, void* handler);
+void *registerAsyncSignalHandler(int sig, void* handler);
 void restoreAsyncSignalHandler(int sig, void* handler);
 
 void registerTerminalSignal(int sig, void* handler);
Index: kaffe/libraries/clib/native/ClassLoader.c
diff -u kaffe/libraries/clib/native/ClassLoader.c:1.42 kaffe/libraries/clib/native/ClassLoader.c:1.43
--- kaffe/libraries/clib/native/ClassLoader.c:1.42	Fri Dec 31 11:07:17 2004
+++ kaffe/libraries/clib/native/ClassLoader.c	Sat Jan  1 11:35:44 2005
@@ -33,7 +33,7 @@
  */
 struct Hjava_lang_Class*
 java_lang_VMClassLoader_defineClass(struct Hjava_lang_ClassLoader* this, struct Hjava_lang_String* name,
-				    HArrayOfByte* data, jint offset, jint length, struct Hjava_lang_Object* protectionDomain)
+				    HArrayOfByte* data, jint offset, jint length, struct Hjava_security_ProtectionDomain* protectionDomain)
 {
 	Hjava_lang_Class *clazz, *dup_clazz;
 	classFile hand;




More information about the kaffe mailing list