about summary refs log tree commit diff
path: root/socket
diff options
context:
space:
mode:
Diffstat (limited to 'socket')
-rw-r--r--socket/send.c2
-rw-r--r--socket/sendto.c2
-rw-r--r--socket/setsockopt.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/socket/send.c b/socket/send.c
index 7217ab8138..f6c7c2514b 100644
--- a/socket/send.c
+++ b/socket/send.c
@@ -20,7 +20,7 @@
 
 /* Send N bytes of BUF to socket FD.  Returns the number sent or -1.  */
 ssize_t
-__send (int fd, const __ptr_t buf, size_t n, int flags)
+__send (int fd, const void *buf, size_t n, int flags)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/socket/sendto.c b/socket/sendto.c
index 9db72147f0..c7641d5d1c 100644
--- a/socket/sendto.c
+++ b/socket/sendto.c
@@ -21,7 +21,7 @@
 /* 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.  */
 ssize_t
-__sendto (int fd, const __ptr_t buf, size_t n, int flags,
+__sendto (int fd, const void *buf, size_t n, int flags,
 	  __CONST_SOCKADDR_ARG addr, socklen_t addr_len)
 {
   __set_errno (ENOSYS);
diff --git a/socket/setsockopt.c b/socket/setsockopt.c
index 4b09bead2e..346dfa75f4 100644
--- a/socket/setsockopt.c
+++ b/socket/setsockopt.c
@@ -22,7 +22,7 @@
    to *OPTVAL (which is OPTLEN bytes long).
    Returns 0 on success, -1 for errors.  */
 int
-__setsockopt (int fd, int level, int optname, const __ptr_t optval,
+__setsockopt (int fd, int level, int optname, const void *optval,
 	      socklen_t optlen)
 {
   __set_errno (ENOSYS);