X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fbasic%2Fsocket-util.h;fp=src%2Fbasic%2Fsocket-util.h;h=6cd67ffa081508dd6890c1191c4cae945c513659;hb=166f4e4fb53a82900ff9ae080e0ff37d35d4dacd;hp=2924c30bfbc860a6ee5887e11ab32c012bcf64ed;hpb=68def6bc80ba50ed3b3658d00799a3ec295c4d7a;p=elogind.git diff --git a/src/basic/socket-util.h b/src/basic/socket-util.h index 2924c30bf..6cd67ffa0 100644 --- a/src/basic/socket-util.h +++ b/src/basic/socket-util.h @@ -41,8 +41,7 @@ union sockaddr_union { struct sockaddr_ll ll; }; -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind typedef struct SocketAddress { union sockaddr_union sockaddr; @@ -102,8 +101,7 @@ const char* socket_address_get_path(const SocketAddress *a); bool socket_ipv6_is_supported(void); -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int sockaddr_port(const struct sockaddr *_sa) _pure_; Sint sockaddr_pretty(const struct sockaddr *_sa, socklen_t salen, bool translate_ipv6, bool include_port, char **ret); @@ -124,8 +122,7 @@ bool sockaddr_equal(const union sockaddr_union *a, const union sockaddr_union *b int fd_inc_sndbuf(int fd, size_t n); int fd_inc_rcvbuf(int fd, size_t n); -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int ip_tos_to_string_alloc(int i, char **s); int ip_tos_from_string(const char *s); #endif // 0 @@ -134,8 +131,7 @@ int getpeercred(int fd, struct ucred *ucred); int getpeersec(int fd, char **ret); int send_one_fd(int transport_fd, int fd, int flags); -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int receive_one_fd(int transport_fd, int flags); #endif // 0