[kaffe] CVS kaffe (robilad): Small warning fix

Kaffe CVS cvs-commits at kaffe.org
Sun Feb 6 07:16:42 PST 2005


PatchSet 5482 
Date: 2005/02/06 15:11:56
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Small warning fix

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

        * libraries/clib/native/Runtime.c
        (java_lang_Runtime_getLibPrefix,
        java_lang_Runtime_getLibSuffix): ANSI-fied prototypes.

Members: 
	ChangeLog:1.3528->1.3529 
	libraries/clib/native/Runtime.c:1.31->1.32 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3528 kaffe/ChangeLog:1.3529
--- kaffe/ChangeLog:1.3528	Sun Feb  6 15:05:06 2005
+++ kaffe/ChangeLog	Sun Feb  6 15:11:56 2005
@@ -1,5 +1,11 @@
 2005-02-06  Dalibor Topic  <robilad at kaffe.org>
 
+	* libraries/clib/native/Runtime.c 
+	(java_lang_Runtime_getLibPrefix, 
+	java_lang_Runtime_getLibSuffix): ANSI-fied prototypes.
+
+2005-02-06  Dalibor Topic  <robilad at kaffe.org>
+
 	* kaffe/kaffevm/gcFuncs.c: Replaced 'index' by 'objIndex' to 
 	fix compiler warnings about shadowed symbols.
 
Index: kaffe/libraries/clib/native/Runtime.c
diff -u kaffe/libraries/clib/native/Runtime.c:1.31 kaffe/libraries/clib/native/Runtime.c:1.32
--- kaffe/libraries/clib/native/Runtime.c:1.31	Mon Jan 10 12:43:19 2005
+++ kaffe/libraries/clib/native/Runtime.c	Sun Feb  6 15:12:00 2005
@@ -162,13 +162,13 @@
 }
 
 struct Hjava_lang_String*
-java_lang_Runtime_getLibPrefix()
+java_lang_Runtime_getLibPrefix(void)
 {
 	return checkPtr(stringC2Java(LIBRARYPREFIX));
 }
 
 struct Hjava_lang_String*
-java_lang_Runtime_getLibSuffix()
+java_lang_Runtime_getLibSuffix(void)
 {
 	return checkPtr(stringC2Java(LIBRARYSUFFIX));
 }



More information about the kaffe mailing list