X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fbasic%2Fsocket-util.c;h=563c7db607dbde64f2eba4e5591a654a427ab884;hb=166f4e4fb53a82900ff9ae080e0ff37d35d4dacd;hp=56a40a1deb37b6da06e0c865d8165b30f28ffa31;hpb=68def6bc80ba50ed3b3658d00799a3ec295c4d7a;p=elogind.git diff --git a/src/basic/socket-util.c b/src/basic/socket-util.c index 56a40a1de..563c7db60 100644 --- a/src/basic/socket-util.c +++ b/src/basic/socket-util.c @@ -44,8 +44,7 @@ #include "user-util.h" #include "util.h" -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int socket_address_parse(SocketAddress *a, const char *s) { char *e, *n; unsigned u; @@ -453,8 +452,7 @@ bool socket_ipv6_is_supported(void) { return l[0] == '0'; } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind bool socket_address_matches_fd(const SocketAddress *a, int fd) { SocketAddress b; socklen_t solen; @@ -797,8 +795,7 @@ int fd_inc_rcvbuf(int fd, size_t n) { return 1; } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind static const char* const ip_tos_table[] = { [IPTOS_LOWDELAY] = "low-delay", [IPTOS_THROUGHPUT] = "throughput", @@ -903,8 +900,7 @@ int send_one_fd(int transport_fd, int fd, int flags) { return 0; } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int receive_one_fd(int transport_fd, int flags) { union { struct cmsghdr cmsghdr;