]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove GetAdaptersAddresses_fn_t
authorteor <teor@torproject.org>
Thu, 6 Sep 2018 02:54:03 +0000 (12:54 +1000)
committerteor <teor@torproject.org>
Thu, 6 Sep 2018 02:54:03 +0000 (12:54 +1000)
The code that used it was removed as part of the 26481 refactor.

Closes ticket 27467.

changes/ticket27467 [new file with mode: 0644]
src/lib/net/address.c

diff --git a/changes/ticket27467 b/changes/ticket27467
new file mode 100644 (file)
index 0000000..6f0df02
--- /dev/null
@@ -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.
index 619fa13e9be7a1db09ce0b3f0010a6dff826589e..d49ffe7066ff9db832dcc65f4c241214fe3d015a 100644 (file)
@@ -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