aboutsummaryrefslogtreecommitdiff
path: root/socket/sys/socket.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-08-23 17:05:51 +0000
committerAndreas Jaeger <aj@suse.de>2000-08-23 17:05:51 +0000
commit8f589a7cfe1a965d5c148290f388e08a137a5884 (patch)
tree06ae82796ed5c6e796e980c74590e438a7207284 /socket/sys/socket.h
parent56ce46d5698396165995b89b790a6c21a515d2b3 (diff)
downloadglibc-8f589a7cfe1a965d5c148290f388e08a137a5884.zip
glibc-8f589a7cfe1a965d5c148290f388e08a137a5884.tar.gz
glibc-8f589a7cfe1a965d5c148290f388e08a137a5884.tar.bz2
* misc/sys/select.h: Move prototypes of __select from here ...
* include/sys/select.h: ... to here. * socket/sys/socket.h: Move prototypes of __send and __connect from here.... * include/sys/socket.h: ... to here.
Diffstat (limited to 'socket/sys/socket.h')
-rw-r--r--socket/sys/socket.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/socket/sys/socket.h b/socket/sys/socket.h
index 1655d95..f049a79 100644
--- a/socket/sys/socket.h
+++ b/socket/sys/socket.h
@@ -117,8 +117,6 @@ extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
For connectionless socket types, just set the default address to send to
and the only address from which to accept transmissions.
Return 0 on success, -1 for errors. */
-extern int __connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len)
- __THROW;
extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len)
__THROW;
@@ -129,8 +127,6 @@ extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
/* Send N bytes of BUF to socket FD. Returns the number sent or -1. */
-extern int __send (int __fd, __const void *__buf, size_t __n, int __flags)
- __THROW;
extern int send (int __fd, __const void *__buf, size_t __n, int __flags)
__THROW;