PatchSet 7296 
Date: 2006/05/24 11:43:11
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
small warning fix for powerpc-darwin

2006-05-24  Dalibor Topic  <[EMAIL PROTECTED]>

        Small warning fix for powerpc-darwin.

        * include/jsyscall.h (_sendto) Modified prototype to match
        OS X & GNU/Linux declaration.

        * kaffe/kaffevm/systems/unix-jthreads/syscalls.c,
        kaffe/kaffevm/systems/unix-pthreads/syscalls.c
        (jthreadedSendto): Updated declaration to match libc.

Members: 
        ChangeLog:1.4800->1.4801 
        include/jsyscall.h:1.26->1.27 
        kaffe/kaffevm/systems/unix-jthreads/syscalls.c:1.19->1.20 
        kaffe/kaffevm/systems/unix-pthreads/syscalls.c:1.37->1.38 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4800 kaffe/ChangeLog:1.4801
--- kaffe/ChangeLog:1.4800      Tue May 23 22:16:49 2006
+++ kaffe/ChangeLog     Wed May 24 11:43:11 2006
@@ -1,3 +1,14 @@
+2006-05-24  Dalibor Topic  <[EMAIL PROTECTED]>
+
+       Small warning fix for powerpc-darwin.
+
+       * include/jsyscall.h (_sendto) Modified prototype to match
+       OS X & GNU/Linux declaration.
+
+       * kaffe/kaffevm/systems/unix-jthreads/syscalls.c,
+       kaffe/kaffevm/systems/unix-pthreads/syscalls.c 
+       (jthreadedSendto): Updated declaration to match libc.
+       
 2006-05-23  Dalibor Topic  <[EMAIL PROTECTED]>
 
        * libraries/javalib/external/classpath/: Resynced with GNU Classpath.
Index: kaffe/include/jsyscall.h
diff -u kaffe/include/jsyscall.h:1.26 kaffe/include/jsyscall.h:1.27
--- kaffe/include/jsyscall.h:1.26       Sat Apr 22 18:40:42 2006
+++ kaffe/include/jsyscall.h    Wed May 24 11:43:12 2006
@@ -79,7 +79,7 @@
                int timeout, ssize_t *);
        int     (*_sockwrite)(int, const void *, size_t, ssize_t *);
        int     (*_sendto)(int, const void *, size_t, int, const struct 
sockaddr *,
-               socklen_t, int *);
+               socklen_t, ssize_t *);
        int     (*_setsockopt)(int, int, int, const void *, int);
        int     (*_getsockopt)(int, int, int, void *, socklen_t *);
        int     (*_getsockname)(int, struct sockaddr *, socklen_t *);
Index: kaffe/kaffe/kaffevm/systems/unix-jthreads/syscalls.c
diff -u kaffe/kaffe/kaffevm/systems/unix-jthreads/syscalls.c:1.19 
kaffe/kaffe/kaffevm/systems/unix-jthreads/syscalls.c:1.20
--- kaffe/kaffe/kaffevm/systems/unix-jthreads/syscalls.c:1.19   Sat Apr 22 
18:40:43 2006
+++ kaffe/kaffe/kaffevm/systems/unix-jthreads/syscalls.c        Wed May 24 
11:43:13 2006
@@ -214,7 +214,7 @@
 
 static int     
 jthreadedSendto(int a, const void* b, size_t c, int d, const struct sockaddr* 
e,
-               socklen_t f, int *out)
+               socklen_t f, ssize_t *out)
 {
        int rc = 0;
 
Index: kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c
diff -u kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c:1.37 
kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c:1.38
--- kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c:1.37   Sat Apr 22 
18:40:45 2006
+++ kaffe/kaffe/kaffevm/systems/unix-pthreads/syscalls.c        Wed May 24 
11:43:13 2006
@@ -320,7 +320,7 @@
 
 static int     
 jthreadedSendto(int a, const void* b, size_t c, int d, const struct sockaddr* 
e,
-               socklen_t f, int *out)
+               socklen_t f, ssize_t *out)
 {
        int rc = 0;
 

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

Reply via email to