aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/StaticSocketAddress.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-07-21 14:42:46 +0200
committerMax Kellermann <max@duempel.org>2015-07-21 14:42:46 +0200
commita4a37d7a196903d73180081159886de214b95849 (patch)
tree5ec463ff1bf80242754b07b5683e439453f6cbac /src/net/StaticSocketAddress.hxx
parentd1b1a8e490415f7b761c50edbfd83218dd177d95 (diff)
downloadmpd-a4a37d7a196903d73180081159886de214b95849.tar.gz
mpd-a4a37d7a196903d73180081159886de214b95849.tar.xz
mpd-a4a37d7a196903d73180081159886de214b95849.zip
net/StaticSocketAddress: remove unused method SetLocal()
Diffstat (limited to 'src/net/StaticSocketAddress.hxx')
-rw-r--r--src/net/StaticSocketAddress.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/net/StaticSocketAddress.hxx b/src/net/StaticSocketAddress.hxx
index c91231138..2d92d36b5 100644
--- a/src/net/StaticSocketAddress.hxx
+++ b/src/net/StaticSocketAddress.hxx
@@ -31,7 +31,6 @@
#define STATIC_SOCKET_ADDRESS_HXX
#include "SocketAddress.hxx"
-#include "Features.hxx"
#include "Compiler.h"
#include <assert.h>
@@ -57,13 +56,6 @@ public:
size);
}
-#if defined(HAVE_UN) && !defined(__BIONIC__)
- /**
- * Make this a "local" address (UNIX domain socket).
- */
- void SetLocal(const char *path);
-#endif
-
operator struct sockaddr *() {
return reinterpret_cast<struct sockaddr *>(&address);
}