summaryrefslogtreecommitdiff
path: root/src/basic/socket-util.c
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-04-11 17:28:14 +0200
committerSven Eden <yamakuzure@gmx.net>2017-04-26 12:59:13 +0200
commit166f4e4fb53a82900ff9ae080e0ff37d35d4dacd (patch)
tree6b865d79a989e8b3574effac3b9460ea3cac7c22 /src/basic/socket-util.c
parent68def6bc80ba50ed3b3658d00799a3ec295c4d7a (diff)
Prep v228: Condense elogind source masks (3/5)
Diffstat (limited to 'src/basic/socket-util.c')
-rw-r--r--src/basic/socket-util.c12
1 files changed, 4 insertions, 8 deletions
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;