summaryrefslogtreecommitdiff
path: root/libc/inet/socketcalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/socketcalls.c')
-rw-r--r--libc/inet/socketcalls.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libc/inet/socketcalls.c b/libc/inet/socketcalls.c
index 880eab3d8..4b22120d0 100644
--- a/libc/inet/socketcalls.c
+++ b/libc/inet/socketcalls.c
@@ -49,8 +49,8 @@ int __libc_accept(int s, struct sockaddr *addr, socklen_t * addrlen)
return __socketcall(SYS_ACCEPT, args);
}
#endif
-strong_alias(__libc_accept,accept)
libc_hidden_proto(accept)
+strong_alias(__libc_accept,accept)
libc_hidden_def(accept)
#endif
@@ -87,8 +87,8 @@ int __libc_connect(int sockfd, const struct sockaddr *saddr, socklen_t addrlen)
return __socketcall(SYS_CONNECT, args);
}
#endif
-strong_alias(__libc_connect,connect)
libc_hidden_proto(connect)
+strong_alias(__libc_connect,connect)
libc_hidden_def(connect)
#endif
@@ -185,8 +185,8 @@ ssize_t __libc_recv(int sockfd, __ptr_t buffer, size_t len, int flags)
return (recvfrom(sockfd, buffer, len, flags, NULL, NULL));
}
#endif
-strong_alias(__libc_recv,recv)
libc_hidden_proto(recv)
+strong_alias(__libc_recv,recv)
libc_hidden_def(recv)
#endif
@@ -211,8 +211,8 @@ ssize_t __libc_recvfrom(int sockfd, __ptr_t buffer, size_t len, int flags,
return (__socketcall(SYS_RECVFROM, args));
}
#endif
-strong_alias(__libc_recvfrom,recvfrom)
libc_hidden_proto(recvfrom)
+strong_alias(__libc_recvfrom,recvfrom)
libc_hidden_def(recvfrom)
#endif
@@ -231,8 +231,8 @@ ssize_t __libc_recvmsg(int sockfd, struct msghdr *msg, int flags)
return (__socketcall(SYS_RECVMSG, args));
}
#endif
-strong_alias(__libc_recvmsg,recvmsg)
libc_hidden_proto(recvmsg)
+strong_alias(__libc_recvmsg,recvmsg)
libc_hidden_def(recvmsg)
#endif
@@ -259,8 +259,8 @@ ssize_t __libc_send(int sockfd, const void *buffer, size_t len, int flags)
return (sendto(sockfd, buffer, len, flags, NULL, 0));
}
#endif
-strong_alias(__libc_send,send)
libc_hidden_proto(send)
+strong_alias(__libc_send,send)
libc_hidden_def(send)
#endif
@@ -279,8 +279,8 @@ ssize_t __libc_sendmsg(int sockfd, const struct msghdr *msg, int flags)
return (__socketcall(SYS_SENDMSG, args));
}
#endif
-strong_alias(__libc_sendmsg,sendmsg)
libc_hidden_proto(sendmsg)
+strong_alias(__libc_sendmsg,sendmsg)
libc_hidden_def(sendmsg)
#endif
@@ -305,8 +305,8 @@ ssize_t __libc_sendto(int sockfd, const void *buffer, size_t len, int flags,
return (__socketcall(SYS_SENDTO, args));
}
#endif
-strong_alias(__libc_sendto,sendto)
libc_hidden_proto(sendto)
+strong_alias(__libc_sendto,sendto)
libc_hidden_def(sendto)
#endif