summaryrefslogtreecommitdiff
path: root/src/basic/socket-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-01-12 10:19:30 +0100
committerGitHub <noreply@github.com>2017-01-12 10:19:30 +0100
commite843b04ee95815e862d9d4399ca99680b2b6f6ea (patch)
tree10a07ca608f7d7678a35b322f45584169877e98a /src/basic/socket-util.h
parentfb1baf9218c12d634e82faaa0ca6cc1b2ac5fc13 (diff)
parent9a4bf1e8d311513167dc5b456a243d78c52976fb (diff)
Merge pull request #5069 from keszybz/fixlets
Small fixes and enhancements to docs and code
Diffstat (limited to 'src/basic/socket-util.h')
-rw-r--r--src/basic/socket-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/socket-util.h b/src/basic/socket-util.h
index 0df1a600af..3c42e220e5 100644
--- a/src/basic/socket-util.h
+++ b/src/basic/socket-util.h
@@ -102,7 +102,7 @@ const char* socket_address_get_path(const SocketAddress *a);
bool socket_ipv6_is_supported(void);
-int sockaddr_port(const struct sockaddr *_sa, unsigned *port) _pure_;
+int sockaddr_port(const struct sockaddr *_sa, unsigned *port);
int sockaddr_pretty(const struct sockaddr *_sa, socklen_t salen, bool translate_ipv6, bool include_port, char **ret);
int getpeername_pretty(int fd, bool include_port, char **ret);