Browse Source

Remove GetAdaptersAddresses_fn_t

The code that used it was removed as part of the 26481 refactor.

Closes ticket 27467.
teor 5 years ago
parent
commit
d0965561a5
2 changed files with 3 additions and 5 deletions
  1. 3 0
      changes/ticket27467
  2. 0 5
      src/lib/net/address.c

+ 3 - 0
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.

+ 0 - 5
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