Author: ps-guest
Date: 2006-01-18 19:22:38 +0000 (Wed, 18 Jan 2006)
New Revision: 1069

Modified:
   trunk/glibc-2.3-head/sysdeps/kfreebsd/sendto.c
Log:
sync with <sys/socket.h>


Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/sendto.c
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/sendto.c      2006-01-18 18:29:22 UTC 
(rev 1068)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/sendto.c      2006-01-18 19:22:38 UTC 
(rev 1069)
@@ -29,7 +29,7 @@
 extern int __libc_sa_len (sa_family_t __af);
 extern int __libc_sa_len_internal (sa_family_t __af);
 
-extern ssize_t __syscall_sendto (int fd, __const __ptr_t buf, 
+extern ssize_t __syscall_sendto (int fd, __const void * buf, 
                                 size_t n, int flags, 
                                 __CONST_SOCKADDR_ARG addr, 
                                 socklen_t addrlen);
@@ -37,8 +37,9 @@
 /* Send N bytes of BUF on socket FD to peer at address ADDR (which is
  *    ADDR_LEN bytes long).  Returns the number sent, or -1 for errors.  */
 
-int
-__libc_sendto (int fd, __const __ptr_t buf, size_t n, int flags,
+
+ssize_t
+__libc_sendto (int fd, __const void * buf, size_t n, int flags,
               __CONST_SOCKADDR_ARG addr, socklen_t addrlen)
 {
   socklen_t new_addrlen;


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to