[kaffe] CVS kaffe (robilad): Small warning fix for gcc 3.4 on powerpc-linux

Kaffe CVS cvs-commits at kaffe.org
Sun Feb 6 04:00:18 PST 2005


PatchSet 5478 
Date: 2005/02/06 11:55:42
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Small warning fix for gcc 3.4 on powerpc-linux

2005-02-06  Dalibor Topic  <robilad at kaffe.org>

        * kaffe/kaffevm/systems/unix-pthreads/lock-impl.c
        (setBlockState): De-inlined to fix compiler warnings
        with gcc 3.4 on powerpc-linux.

Members: 
	ChangeLog:1.3524->1.3525 
	kaffe/kaffevm/systems/unix-pthreads/lock-impl.c:1.17->1.18 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3524 kaffe/ChangeLog:1.3525
--- kaffe/ChangeLog:1.3524	Sun Feb  6 10:09:48 2005
+++ kaffe/ChangeLog	Sun Feb  6 11:55:42 2005
@@ -1,3 +1,9 @@
+2005-02-06  Dalibor Topic  <robilad at kaffe.org>
+
+	* kaffe/kaffevm/systems/unix-pthreads/lock-impl.c
+	(setBlockState): De-inlined to fix compiler warnings
+	with gcc 3.4 on powerpc-linux.
+
 2005-02-06  Guilhem Lavaux  <guilhem at kaffe.org>
 
 	* configure.ac: Setup SEMAPHORE_LIB correctly. Force enable_mips2 to
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/lock-impl.c
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/lock-impl.c:1.17 kaffe/kaffe/kaffevm/systems/unix-pthreads/lock-impl.c:1.18
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/lock-impl.c:1.17	Sun Jan 30 12:42:44 2005
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/lock-impl.c	Sun Feb  6 11:55:45 2005
@@ -21,7 +21,8 @@
 #endif
 #include <signal.h>
 
-static inline void
+static 
+void
 setBlockState(jthread_t cur, unsigned int newState, void *sp, sigset_t *old_mask)
 {
   int suspendSig;



More information about the kaffe mailing list