[kaffe] CVS kaffe (dalibor): Fixed build for pthreads with interpreter

Kaffe CVS cvs-commits at kaffe.org
Wed Jul 7 10:17:14 PDT 2004


PatchSet 4904 
Date: 2004/07/07 17:12:56
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed build for pthreads with interpreter

2004-07-06  Dalibor Topic  <robilad at kaffe.org>

        * kaffe/kaffevm/systems/unix-pthreads/signal.c:
        (nullException) Changed to use SIGNAL_ARGS in declaration.
        Made static. Fixes build with pthreads and interpreter
        engine.

        Reported by:  Fabien Renaud  <renaud at nentec.de>

Members: 
	ChangeLog:1.2470->1.2471 
	kaffe/kaffevm/systems/unix-pthreads/signal.c:1.5->1.6 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2470 kaffe/ChangeLog:1.2471
--- kaffe/ChangeLog:1.2470	Wed Jul  7 16:05:11 2004
+++ kaffe/ChangeLog	Wed Jul  7 17:12:56 2004
@@ -1,3 +1,12 @@
+2004-07-06  Dalibor Topic  <robilad at kaffe.org>
+
+	* kaffe/kaffevm/systems/unix-pthreads/signal.c:
+	(nullException) Changed to use SIGNAL_ARGS in declaration.
+	Made static. Fixes build with pthreads and interpreter 
+	engine.
+
+	Reported by:  Fabien Renaud  <renaud at nentec.de>
+
 2004-07-07  Fabien Renaud  <renaud at nentec.de>
 
 	* kaffe/kaffevm/threadData.h:
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.5 kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.6
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c:1.5	Mon Jul  5 16:40:49 2004
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/signal.c	Wed Jul  7 17:13:01 2004
@@ -44,7 +44,7 @@
 #define SIG_T   void*
 #endif
 
-void nullException(EXCEPTIONPROTO);
+static void nullException(SIGNAL_ARGS(sig, sc));
 static void floatingException(EXCEPTIONPROTO);
 
 static exchandler_t nullHandler;
@@ -83,8 +83,8 @@
 /*
  * Null exception - catches bad memory accesses.
  */
-void
-nullException(EXCEPTIONPROTO)
+static void
+nullException(SIGNAL_ARGS(sig, ctx))
 {
         void *stackptr;
 	jthread_t current_thread;




More information about the kaffe mailing list