PatchSet 4651 
Date: 2004/04/16 15:02:36
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Removed a few inline attributes to fix compiler warnings on Cygwin

2004-04-16  Dalibor Topic <[EMAIL PROTECTED]>

        * kaffe/kaffevm/jar.c:
        (jarRead, instantiateCentralDir,
        instantiateLocalHeader, instantiateCentralDirEnd)
        Removed inline attribute to fix compiler warnings
        on Cygwin.

        * kaffe/kaffevm/verify.c:
        (cleanupInVerifyMethod) Removed inline attribute to
        fix compiler warnings on Cygwin.

        * kaffe/kaffevm/mem/gc-incremental.c:
        (markObjectDontCheck) Removed inline attribute to
        fix compiler warnings on Cygwin.

Members: 
        ChangeLog:1.2227->1.2228 
        kaffe/kaffevm/jar.c:1.26->1.27 
        kaffe/kaffevm/verify.c:1.74->1.75 
        kaffe/kaffevm/mem/gc-incremental.c:1.77->1.78 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2227 kaffe/ChangeLog:1.2228
--- kaffe/ChangeLog:1.2227      Fri Apr 16 14:55:19 2004
+++ kaffe/ChangeLog     Fri Apr 16 15:02:36 2004
@@ -13,6 +13,22 @@
 
 2004-04-16  Dalibor Topic <[EMAIL PROTECTED]>
 
+       * kaffe/kaffevm/jar.c:
+       (jarRead, instantiateCentralDir,
+       instantiateLocalHeader, instantiateCentralDirEnd)
+       Removed inline attribute to fix compiler warnings
+       on Cygwin.
+
+       * kaffe/kaffevm/verify.c:
+       (cleanupInVerifyMethod) Removed inline attribute to
+       fix compiler warnings on Cygwin.        
+       
+       * kaffe/kaffevm/mem/gc-incremental.c:
+       (markObjectDontCheck) Removed inline attribute to
+        fix compiler warnings on Cygwin.
+
+2004-04-16  Dalibor Topic <[EMAIL PROTECTED]>
+
        * config/i386/jit.h:
        (_methodTrampoline) Removed PACKED attibute for call
        to fix a compiler warning on i386-cygwin.
Index: kaffe/kaffe/kaffevm/jar.c
diff -u kaffe/kaffe/kaffevm/jar.c:1.26 kaffe/kaffe/kaffevm/jar.c:1.27
--- kaffe/kaffe/kaffevm/jar.c:1.26      Fri Apr  2 20:14:42 2004
+++ kaffe/kaffe/kaffevm/jar.c   Fri Apr 16 15:02:37 2004
@@ -376,8 +376,8 @@
  * This also takes an `instantiation' function which is used to convert
  * any data into the proper byte order and alignment.
  */
-static inline int jarRead(jarFile *jf, uint8 *buf, size_t len,
-                         int (*ins_func)(uint8 *dest, uint8 *src))
+static int jarRead(jarFile *jf, uint8 *buf, size_t len,
+                  int (*ins_func)(uint8 *dest, uint8 *src))
 {
        int retval = -1;
 
@@ -552,7 +552,7 @@
  * Note 2: We're hoping that the compiler is smart enough to drop the unused
  * data members when inlining...
  */
-static inline int
+static int
 instantiateCentralDir(uint8 *dest, uint8 *buf)
 {
        jarCentralDirectoryRecord *cdr = (jarCentralDirectoryRecord *)dest;
@@ -579,7 +579,7 @@
        return( FILE_SIZEOF_CENTRALDIR );
 }
 
-static inline int
+static int
 instantiateLocalHeader(uint8 *dest, uint8 *buf)
 {
        jarLocalHeader *lh = (jarLocalHeader *)dest;
@@ -600,7 +600,7 @@
        return( FILE_SIZEOF_LOCALHEADER );
 }
 
-static inline int
+static int
 instantiateCentralDirEnd(uint8 *dest, uint8 *buf)
 {
        jarCentralDirectoryEnd *cde = (jarCentralDirectoryEnd *)dest;
Index: kaffe/kaffe/kaffevm/verify.c
diff -u kaffe/kaffe/kaffevm/verify.c:1.74 kaffe/kaffe/kaffevm/verify.c:1.75
--- kaffe/kaffe/kaffevm/verify.c:1.74   Sun Apr 11 11:23:26 2004
+++ kaffe/kaffe/kaffevm/verify.c        Fri Apr 16 15:02:38 2004
@@ -355,7 +355,7 @@
 /* to make sure we don't forget to unalloc anything...
  * should be called during ANY EXIT FROM verifyMethod
  */
-static inline
+static
 void
 cleanupInVerifyMethod(uint32* status, SigStack* sigs, UninitializedType* uninits, 
uint32* numBlocks, BlockInfo ** blocks)
 {
Index: kaffe/kaffe/kaffevm/mem/gc-incremental.c
diff -u kaffe/kaffe/kaffevm/mem/gc-incremental.c:1.77 
kaffe/kaffe/kaffevm/mem/gc-incremental.c:1.78
--- kaffe/kaffe/kaffevm/mem/gc-incremental.c:1.77       Sat Apr  3 00:06:13 2004
+++ kaffe/kaffe/kaffevm/mem/gc-incremental.c    Fri Apr 16 15:02:38 2004
@@ -243,7 +243,7 @@
        return 0;
 }
 
-static inline void
+static void
 markObjectDontCheck(gc_unit *unit, gc_block *info, int idx)
 {
        /* If the object has been traced before, don't do it again. */

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to