[kaffe] CVS kaffe (dalibor): Fixed compiler warning about NEED_sysdepCallMethod

Kaffe CVS cvs-commits at kaffe.org
Fri Jun 11 10:14:27 PDT 2004


PatchSet 4838 
Date: 2004/06/11 16:48:55
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed compiler warning about NEED_sysdepCallMethod

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

        * config/alpha/common.h,
        config/arm/sysdepCallMethod.h,
        config/ia64/common.h,
        config/mips/sysdepCallMethod.h,
        config/parisc/sysdepCallMethod.h,
        config/powerpc/common.h,
        config/s390/sysdepCallMethod.h,
        config/x86_64/common.h:
        Fixed gcc warning.

        Reported by: Bastian Blank <waldi at debian.org>

Members: 
	ChangeLog:1.2405->1.2406 
	config/alpha/common.h:1.11->1.12 
	config/arm/sysdepCallMethod.h:1.1->1.2 
	config/ia64/common.h:1.2->1.3 
	config/mips/sysdepCallMethod.h:1.1->1.2 
	config/parisc/sysdepCallMethod.h:1.2->1.3 
	config/powerpc/common.h:1.5->1.6 
	config/s390/sysdepCallMethod.h:1.2->1.3 
	config/x86_64/common.h:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2405 kaffe/ChangeLog:1.2406
--- kaffe/ChangeLog:1.2405	Thu Jun 10 19:18:10 2004
+++ kaffe/ChangeLog	Fri Jun 11 16:48:55 2004
@@ -1,3 +1,17 @@
+2004-06-11  Dalibor Topic  <robilad at kaffe.org>,
+
+        * config/alpha/common.h,
+        config/arm/sysdepCallMethod.h,
+        config/ia64/common.h,
+        config/mips/sysdepCallMethod.h,
+        config/parisc/sysdepCallMethod.h,
+        config/powerpc/common.h,
+        config/s390/sysdepCallMethod.h,
+        config/x86_64/common.h:
+	Fixed gcc warning.
+
+	Reported by: Bastian Blank <waldi at debian.org>
+
 2004-06-10  Dalibor Topic  <robilad at kaffe.org>,
 
 	* libraries/clib/awt/X/toolkit.h:
Index: kaffe/config/alpha/common.h
diff -u kaffe/config/alpha/common.h:1.11 kaffe/config/alpha/common.h:1.12
--- kaffe/config/alpha/common.h:1.11	Fri Apr  2 20:08:21 2004
+++ kaffe/config/alpha/common.h	Fri Jun 11 16:48:57 2004
@@ -17,14 +17,14 @@
 
 #include "atomicity.h"
 
-#if NEED_sysdepCallMethod
+#if defined(NEED_sysdepCallMethod)
 
 #define LONG_SYSDEP 1
 #include "sysdepCallMethod.h"
 #undef LONG_SYSDEP
 #include "sysdepCallMethod.h"
 
-#endif /* NEED_sysdepCallMethod */
+#endif /* defined(NEED_sysdepCallMethod) */
 
 /*
  * Do an atomic compare and exchange.  The address 'A' is checked against
Index: kaffe/config/arm/sysdepCallMethod.h
diff -u kaffe/config/arm/sysdepCallMethod.h:1.1 kaffe/config/arm/sysdepCallMethod.h:1.2
--- kaffe/config/arm/sysdepCallMethod.h:1.1	Thu Dec 11 16:43:33 2003
+++ kaffe/config/arm/sysdepCallMethod.h	Fri Jun 11 16:48:57 2004
@@ -29,7 +29,7 @@
  * have to take this into account here.  It is a convention of the
  * software floating point libraries and the build tools.
  */
-#if NEED_sysdepCallMethod
+#if defined(NEED_sysdepCallMethod)
 static inline void sysdepCallMethod(callMethodInfo *call) {
   int extraargs[(call->nrargs>4)?(call->nrargs-4):0];
   switch(call->nrargs) {
@@ -86,6 +86,6 @@
     }
   }
 }
-#endif /* NEED_sysdepCallMethod */
+#endif /* defined(NEED_sysdepCallMethod) */
 
 #endif /* __arm_sysdepCallMethod_h */
Index: kaffe/config/ia64/common.h
diff -u kaffe/config/ia64/common.h:1.2 kaffe/config/ia64/common.h:1.3
--- kaffe/config/ia64/common.h:1.2	Wed May 21 09:09:48 2003
+++ kaffe/config/ia64/common.h	Fri Jun 11 16:48:57 2004
@@ -15,9 +15,9 @@
 #define NEED_STACK_ALIGN
 #define STACK_ALIGN(p)  ((((unsigned long)(p)) & 15) ^ (unsigned long)(p))
 
-#if NEED_sysdepCallMethod
+#if defined(NEED_sysdepCallMethod)
 #include "sysdepCallMethod.h"
-#endif
+#endif /* defined(NEED_sysdepCallMethod) */
 
 /*
  * Do an atomic compare and exchange.  The address 'A' is checked
Index: kaffe/config/mips/sysdepCallMethod.h
diff -u kaffe/config/mips/sysdepCallMethod.h:1.1 kaffe/config/mips/sysdepCallMethod.h:1.2
--- kaffe/config/mips/sysdepCallMethod.h:1.1	Sat Dec 13 19:31:28 2003
+++ kaffe/config/mips/sysdepCallMethod.h	Fri Jun 11 16:48:57 2004
@@ -18,7 +18,7 @@
 #ifndef __mips_sysdepCallMethod_h
 #define __mips_sysdepCallMethod_h
 
-#if NEED_sysdepCallMethod
+#if defined(NEED_sysdepCallMethod)
 
 #include "support.h"
 
@@ -42,6 +42,6 @@
 
 #endif
 
-#endif /* NEED_sysdepCallMethod */
+#endif /* defined(NEED_sysdepCallMethod) */
 
 #endif /* __mips_sysdepCallMethod_h */
Index: kaffe/config/parisc/sysdepCallMethod.h
diff -u kaffe/config/parisc/sysdepCallMethod.h:1.2 kaffe/config/parisc/sysdepCallMethod.h:1.3
--- kaffe/config/parisc/sysdepCallMethod.h:1.2	Sat Jan 17 19:38:40 2004
+++ kaffe/config/parisc/sysdepCallMethod.h	Fri Jun 11 16:48:58 2004
@@ -23,7 +23,7 @@
 typedef jfloat f4int_f (int, int, int, int);
 typedef jlong j4int_f (int, int, int, int);
 
-#if NEED_sysdepCallMethod
+#if defined(NEED_sysdepCallMethod)
 /* FIXME: this doesn't work for parisc-linux, because on parisc-linux
  * there is no fparg relocation, so we cannot just pass everything in
  * general purpose registers
@@ -66,7 +66,7 @@
     ((j4int_f *) ((call)->function)) (sa[0], sa[-1], sa[-2], sa[-3]);
 }
 
-#endif /* NEED_sysdepCallMethod */
+#endif /* defined(NEED_sysdepCallMethod) */
 
 #endif /* __parisc_sysdepCallMethod_h */
 
Index: kaffe/config/powerpc/common.h
diff -u kaffe/config/powerpc/common.h:1.5 kaffe/config/powerpc/common.h:1.6
--- kaffe/config/powerpc/common.h:1.5	Tue Aug 14 15:28:18 2001
+++ kaffe/config/powerpc/common.h	Fri Jun 11 16:48:58 2004
@@ -18,9 +18,9 @@
 #define NEED_STACK_ALIGN
 #define STACK_ALIGN(p)  ((((unsigned long)(p)) & 15) ^ (unsigned long)(p))
 
-#if NEED_sysdepCallMethod
+#if defined(NEED_sysdepCallMethod)
 #include "sysdepCallMethod.h"
-#endif
+#endif /* defined(NEED_sysdepCallMethod) */
 
 
 /*
Index: kaffe/config/s390/sysdepCallMethod.h
diff -u kaffe/config/s390/sysdepCallMethod.h:1.2 kaffe/config/s390/sysdepCallMethod.h:1.3
--- kaffe/config/s390/sysdepCallMethod.h:1.2	Tue Mar  9 15:29:27 2004
+++ kaffe/config/s390/sysdepCallMethod.h	Fri Jun 11 16:48:58 2004
@@ -24,7 +24,7 @@
  *  This function is mandatory for both JIT and Interpreter (since stubs
  *  have now been deprecated).
  */
-#if NEED_sysdepCallMethod
+#if defined(NEED_sysdepCallMethod)
 /*
  * The calling convention is as follows:
  *
@@ -169,6 +169,6 @@
        (call)->ret->i = gpr_args[0];
     } /* switch ((call)->rettype) */
 }
-#endif /* NEED_sysdepCallMethod */
+#endif /* defined(NEED_sysdepCallMethod) */
 
 #endif /* __s390_sysdepCallMethod_h */
Index: kaffe/config/x86_64/common.h
diff -u kaffe/config/x86_64/common.h:1.1 kaffe/config/x86_64/common.h:1.2
--- kaffe/config/x86_64/common.h:1.1	Mon May 19 08:03:24 2003
+++ kaffe/config/x86_64/common.h	Fri Jun 11 16:48:59 2004
@@ -16,9 +16,9 @@
 #define NEED_STACK_ALIGN
 #define STACK_ALIGN(p)  ((((unsigned long)(p)) & 15) ^ (unsigned long)(p))
 
-#if NEED_sysdepCallMethod
+#if defined(NEED_sysdepCallMethod)
 #include "sysdepCallMethod.h"
-#endif
+#endif /* defined(NEED_sysdepCallMethod) */
 
 #if defined(__GNUC__)
 #define KAFFE_PROFILER 1




More information about the kaffe mailing list