diff options
Diffstat (limited to 'sysdeps/stub')
-rw-r--r-- | sysdeps/stub/accept.c | 2 | ||||
-rw-r--r-- | sysdeps/stub/bind.c | 2 | ||||
-rw-r--r-- | sysdeps/stub/connect.c | 2 | ||||
-rw-r--r-- | sysdeps/stub/direntry.h | 1 | ||||
-rw-r--r-- | sysdeps/stub/getpeername.c | 2 | ||||
-rw-r--r-- | sysdeps/stub/getsockname.c | 2 | ||||
-rw-r--r-- | sysdeps/stub/readv.c | 2 | ||||
-rw-r--r-- | sysdeps/stub/recvfrom.c | 2 | ||||
-rw-r--r-- | sysdeps/stub/send.c | 2 | ||||
-rw-r--r-- | sysdeps/stub/sendto.c | 4 | ||||
-rw-r--r-- | sysdeps/stub/ttyname_r.c | 2 | ||||
-rw-r--r-- | sysdeps/stub/writev.c | 2 |
12 files changed, 13 insertions, 12 deletions
diff --git a/sysdeps/stub/accept.c b/sysdeps/stub/accept.c index e9a774c026..6934397925 100644 --- a/sysdeps/stub/accept.c +++ b/sysdeps/stub/accept.c @@ -27,7 +27,7 @@ Cambridge, MA 02139, USA. */ int accept (fd, addr, addr_len) int fd; - struct sockaddr *addr; + __SOCKADDR_ARG addr; size_t *addr_len; { __set_errno (ENOSYS); diff --git a/sysdeps/stub/bind.c b/sysdeps/stub/bind.c index 7f4d8145b8..22944c393b 100644 --- a/sysdeps/stub/bind.c +++ b/sysdeps/stub/bind.c @@ -23,7 +23,7 @@ Cambridge, MA 02139, USA. */ int bind (fd, addr, len) int fd; - const struct sockaddr *addr; + __CONST_SOCKADDR_ARG addr; size_t len; { __set_errno (ENOSYS); diff --git a/sysdeps/stub/connect.c b/sysdeps/stub/connect.c index 0d642cbcea..be10fc3345 100644 --- a/sysdeps/stub/connect.c +++ b/sysdeps/stub/connect.c @@ -26,7 +26,7 @@ Cambridge, MA 02139, USA. */ int connect (fd, addr, len) int fd; - const struct sockaddr *addr; + __CONST_SOCKADDR_ARG addr; size_t len; { __set_errno (ENOSYS); diff --git a/sysdeps/stub/direntry.h b/sysdeps/stub/direntry.h index 4b22f31bd6..2f7dca78aa 100644 --- a/sysdeps/stub/direntry.h +++ b/sysdeps/stub/direntry.h @@ -20,4 +20,5 @@ struct dirent { char d_name[1]; /* Variable length. */ + int d_fileno; }; diff --git a/sysdeps/stub/getpeername.c b/sysdeps/stub/getpeername.c index 85256ad7ed..a2eb4ad79c 100644 --- a/sysdeps/stub/getpeername.c +++ b/sysdeps/stub/getpeername.c @@ -24,7 +24,7 @@ Cambridge, MA 02139, USA. */ int getpeername (fd, addr, len) int fd; - struct sockaddr *addr; + __SOCKADDR_ARG addr; size_t *len; { __set_errno (ENOSYS); diff --git a/sysdeps/stub/getsockname.c b/sysdeps/stub/getsockname.c index 17bb2b8a24..517ccfea17 100644 --- a/sysdeps/stub/getsockname.c +++ b/sysdeps/stub/getsockname.c @@ -23,7 +23,7 @@ Cambridge, MA 02139, USA. */ int getsockname (fd, addr, len) int fd; - struct sockaddr *addr; + __SOCKADDR_ARG addr; size_t *len; { __set_errno (ENOSYS); diff --git a/sysdeps/stub/readv.c b/sysdeps/stub/readv.c index a3240df239..8dd22d9649 100644 --- a/sysdeps/stub/readv.c +++ b/sysdeps/stub/readv.c @@ -29,7 +29,7 @@ int __readv (fd, vector, count) int fd; const struct iovec *vector; - size_t count; + int count; { __set_errno (ENOSYS); return -1; diff --git a/sysdeps/stub/recvfrom.c b/sysdeps/stub/recvfrom.c index 47973ed896..e81946cb90 100644 --- a/sysdeps/stub/recvfrom.c +++ b/sysdeps/stub/recvfrom.c @@ -28,7 +28,7 @@ recvfrom (fd, buf, n, flags, addr, addr_len) void *buf; size_t n; int flags; - struct sockaddr *addr; + __SOCKADDR_ARG addr; size_t *addr_len; { __set_errno (ENOSYS); diff --git a/sysdeps/stub/send.c b/sysdeps/stub/send.c index e921fd74bd..fbf8186ed5 100644 --- a/sysdeps/stub/send.c +++ b/sysdeps/stub/send.c @@ -23,7 +23,7 @@ Cambridge, MA 02139, USA. */ int send (fd, buf, n, flags) int fd; - void *buf; + __const __ptr_t buf; size_t n; int flags; { diff --git a/sysdeps/stub/sendto.c b/sysdeps/stub/sendto.c index 26353919a1..a05717ae68 100644 --- a/sysdeps/stub/sendto.c +++ b/sysdeps/stub/sendto.c @@ -24,10 +24,10 @@ Cambridge, MA 02139, USA. */ int sendto (fd, buf, n, flags, addr, addr_len) int fd; - void *buf; + __const __ptr_t buf; size_t n; int flags; - const struct sockaddr *addr; + __CONST_SOCKADDR_ARG addr; size_t addr_len; { __set_errno (ENOSYS); diff --git a/sysdeps/stub/ttyname_r.c b/sysdeps/stub/ttyname_r.c index 7a05629c43..3c0306caaa 100644 --- a/sysdeps/stub/ttyname_r.c +++ b/sysdeps/stub/ttyname_r.c @@ -26,7 +26,7 @@ int ttyname_r (fd, buf, buflen) int fd; char *buf; - int buflen; + size_t buflen; { __set_errno (ENOSYS); return -1; diff --git a/sysdeps/stub/writev.c b/sysdeps/stub/writev.c index 1fd7c2ec73..d18d73cddc 100644 --- a/sysdeps/stub/writev.c +++ b/sysdeps/stub/writev.c @@ -29,7 +29,7 @@ int __writev (fd, vector, count) int fd; const struct iovec *vector; - size_t count; + int count; { __set_errno (ENOSYS); return -1; |