aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/ticket274673
-rw-r--r--src/lib/net/address.c5
2 files changed, 3 insertions, 5 deletions
diff --git a/changes/ticket27467 b/changes/ticket27467
new file mode 100644
index 0000000000..6f0df024ce
--- /dev/null
+++ 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
index 619fa13e9b..d49ffe7066 100644
--- 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