[kaffe] CVS kaffe (dalibor): Compilation fix for g++

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Wed May 26 15:09:20 2004


PatchSet 4786 
Date: 2004/05/26 21:33:43
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Compilation fix for g++

2004-05-26  Dalibor Topic  <robilad@kaffe.org>

        * kaffe/kaffevm/systems/unix-jthreads/jthread.h:
        Moved UNUSED in front of variables for g++.

Members: 
	ChangeLog:1.2355->1.2356 
	kaffe/kaffevm/systems/unix-jthreads/jthread.h:1.58->1.59 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2355 kaffe/ChangeLog:1.2356
--- kaffe/ChangeLog:1.2355	Wed May 26 21:19:25 2004
+++ kaffe/ChangeLog	Wed May 26 21:33:43 2004
@@ -1,5 +1,10 @@
 2004-05-26  Dalibor Topic  <robilad@kaffe.org>
 
+	* kaffe/kaffevm/systems/unix-jthreads/jthread.h:
+	Moved UNUSED in front of variables for g++.
+
+2004-05-26  Dalibor Topic  <robilad@kaffe.org>
+
 	* kaffe/kaffevm/support.h:
 	Fixed compilation problems with g++.
 
Index: kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.h
diff -u kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.h:1.58 kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.h:1.59
--- kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.h:1.58	Sun Apr 25 19:57:51 2004
+++ kaffe/kaffe/kaffevm/systems/unix-jthreads/jthread.h	Wed May 26 21:33:44 2004
@@ -353,7 +353,7 @@
 void 	jthread_exit_when_done(void) NONRETURNING;
 
 static inline
-bool jthread_attach_current_thread(bool isDaemon UNUSED)
+bool jthread_attach_current_thread(UNUSED bool isDaemon)
 {
 	return false;
 }