commit d0965561a53ffc3707f4466e4470dbb072a47f10
parent 1c62adb65baa99c92f937318c452955306301643
Author: teor <teor@torproject.org>
Date: Thu, 6 Sep 2018 12:54:03 +1000
Remove GetAdaptersAddresses_fn_t
The code that used it was removed as part of the 26481 refactor.
Closes ticket 27467.
Diffstat:
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/changes/ticket27467 b/changes/ticket27467
@@ -0,0 +1,3 @@
+ o Code simplification and refactoring:
+ - Remove GetAdaptersAddresses_fn_t. The code that used it was removed
+ as part of the 26481 refactor. Closes ticket 27467.
diff --git a/src/lib/net/address.c b/src/lib/net/address.c
@@ -1205,11 +1205,6 @@ tor_addr_parse(tor_addr_t *addr, const char *src)
return result;
}
-#ifdef _WIN32
-typedef ULONG (WINAPI *GetAdaptersAddresses_fn_t)(
- ULONG, ULONG, PVOID, PIP_ADAPTER_ADDRESSES, PULONG);
-#endif
-
#ifdef HAVE_IFADDRS_TO_SMARTLIST
/*
* Convert a linked list consisting of <b>ifaddrs</b> structures