Merge pull request #8143 from yuwata/drop-unused-func

Drop several unused functions
This commit is contained in:
Yu Watanabe
2018-02-10 12:47:12 +09:00
committed by GitHub
6 changed files with 1 additions and 114 deletions
-13
View File
@@ -758,19 +758,6 @@ int socknameinfo_pretty(union sockaddr_union *sa, socklen_t salen, char **_ret)
return 0;
}
int getnameinfo_pretty(int fd, char **ret) {
union sockaddr_union sa;
socklen_t salen = sizeof(sa);
assert(fd >= 0);
assert(ret);
if (getsockname(fd, &sa.sa, &salen) < 0)
return -errno;
return socknameinfo_pretty(&sa, salen, ret);
}
int socket_address_unlink(SocketAddress *a) {
assert(a);