[kaffe] CVS kaffe (robilad): small warning fix for kaffeh

Kaffe CVS cvs-commits at kaffe.org
Wed Apr 5 20:38:39 PDT 2006


PatchSet 7217 
Date: 2006/04/06 03:29:45
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small warning fix for kaffeh

2006-04-06  Dalibor Topic  <robilad at kaffe.org>

* kaffe/kaffevm/readClass.c (readSignatureAttribute):
Guarded to avoid building it for kaffeh.

Members: 
	ChangeLog:1.4723->1.4724 
	kaffe/kaffevm/readClass.c:1.26->1.27 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4723 kaffe/ChangeLog:1.4724
--- kaffe/ChangeLog:1.4723	Thu Apr  6 03:11:00 2006
+++ kaffe/ChangeLog	Thu Apr  6 03:29:45 2006
@@ -1,5 +1,10 @@
 2006-04-06  Dalibor Topic  <robilad at kaffe.org>
 
+	* kaffe/kaffevm/readClass.c (readSignatureAttribute): 
+	Guarded to avoid building it for kaffeh.
+
+2006-04-06  Dalibor Topic  <robilad at kaffe.org>
+
 	* kaffe/kaffevm/classMethod.h: Made 
 	methods.c.bcode.codelen an unsigned int.
 
Index: kaffe/kaffe/kaffevm/readClass.c
diff -u kaffe/kaffe/kaffevm/readClass.c:1.26 kaffe/kaffe/kaffevm/readClass.c:1.27
--- kaffe/kaffe/kaffevm/readClass.c:1.26	Thu Mar 30 17:39:16 2006
+++ kaffe/kaffe/kaffevm/readClass.c	Thu Apr  6 03:29:51 2006
@@ -196,6 +196,7 @@
 	return (true);
 }
 
+#if !defined(KAFFEH)
 static bool
 readSignatureAttribute(Hjava_lang_Class* this, u2 idx, Utf8Const **signature, errorInfo *einfo)
 {
@@ -213,6 +214,7 @@
   *signature = WORD2UTF (pool->data[idx]);
   return true;
 }
+#endif /* !defined(KAFFEH) */
 
 /*
  * Read in attributes.




More information about the kaffe mailing list