Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-03-24 18:22:30 +0300
committerCorinna Vinschen <corinna@vinschen.de>2016-03-24 18:22:30 +0300
commitc133a6a3d121d70997ff3ed7792f1b09c91c47d0 (patch)
tree4fbbf4c4b13781d2f7cbd81216bfbb5643389e38 /winsup
parent977912ff930d404002f4086569c9ce6adb5db3ca (diff)
Remove unused function convert_ifr_flags
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/net.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index 31bc11dc0..3175d0ca0 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -1913,20 +1913,6 @@ get_adapters_addresses (PIP_ADAPTER_ADDRESSES *pa_ret, ULONG family)
return ret == ERROR_SUCCESS || (!pa_ret && ret == ERROR_BUFFER_OVERFLOW);
}
-#define WS_IFF_UP 1
-#define WS_IFF_BROADCAST 2
-#define WS_IFF_LOOPBACK 4
-#define WS_IFF_POINTTOPOINT 8
-#define WS_IFF_MULTICAST 16
-
-static inline short
-convert_ifr_flags (u_long ws_flags)
-{
- return (ws_flags & (WS_IFF_UP | WS_IFF_BROADCAST))
- | ((ws_flags & (WS_IFF_LOOPBACK | WS_IFF_POINTTOPOINT)) << 1)
- | ((ws_flags & WS_IFF_MULTICAST) << 8);
-}
-
static u_long
get_routedst (DWORD if_index)
{