about summary refs log tree commit diff
path: root/socket
diff options
context:
space:
mode:
Diffstat (limited to 'socket')
-rw-r--r--socket/recvfrom.c9
-rw-r--r--socket/sendto.c9
-rw-r--r--socket/setsockopt.c8
3 files changed, 6 insertions, 20 deletions
diff --git a/socket/recvfrom.c b/socket/recvfrom.c
index 479350f83b..f8985fa4c5 100644
--- a/socket/recvfrom.c
+++ b/socket/recvfrom.c
@@ -22,13 +22,8 @@
    at address ADDR (which is ADDR_LEN bytes long).
    Returns the number read or -1 for errors.  */
 ssize_t
-__recvfrom (fd, buf, n, flags, addr, addr_len)
-     int fd;
-     void *buf;
-     size_t n;
-     int flags;
-     __SOCKADDR_ARG addr;
-     socklen_t *addr_len;
+__recvfrom (int fd, void *buf, size_t n, int flags, __SOCKADDR_ARG addr,
+	    socklen_t *addr_len)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/socket/sendto.c b/socket/sendto.c
index de2e523a51..0b9e4d2ce0 100644
--- a/socket/sendto.c
+++ b/socket/sendto.c
@@ -21,13 +21,8 @@
 /* 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 (fd, buf, n, flags, addr, addr_len)
-     int fd;
-     const __ptr_t buf;
-     size_t n;
-     int flags;
-     __CONST_SOCKADDR_ARG addr;
-     socklen_t addr_len;
+__sendto (int fd, const __ptr_t buf, size_t n, int flags,
+	  __CONST_SOCKADDR_ARG addr, socklen_t addr_len)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/socket/setsockopt.c b/socket/setsockopt.c
index cf36f1c29b..e5985e966a 100644
--- a/socket/setsockopt.c
+++ b/socket/setsockopt.c
@@ -22,12 +22,8 @@
    to *OPTVAL (which is OPTLEN bytes long).
    Returns 0 on success, -1 for errors.  */
 int
-__setsockopt (fd, level, optname, optval, optlen)
-     int fd;
-     int level;
-     int optname;
-     const __ptr_t optval;
-     socklen_t optlen;
+__setsockopt (int fd, int level, int optname, const __ptr_t optval,
+	      socklen_t optlen)
 {
   __set_errno (ENOSYS);
   return -1;