Remove GetAdaptersAddresses_fn_t

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

Closes ticket 27467.
This commit is contained in:
teor 2018-09-06 12:54:03 +10:00
parent 1c62adb65b
commit d0965561a5
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A
2 changed files with 3 additions and 5 deletions

3
changes/ticket27467 Normal file
View File

@ -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.

View File

@ -1205,11 +1205,6 @@ tor_addr_parse(tor_addr_t *addr, const char *src)
return result; return result;
} }
#ifdef _WIN32
typedef ULONG (WINAPI *GetAdaptersAddresses_fn_t)(
ULONG, ULONG, PVOID, PIP_ADAPTER_ADDRESSES, PULONG);
#endif
#ifdef HAVE_IFADDRS_TO_SMARTLIST #ifdef HAVE_IFADDRS_TO_SMARTLIST
/* /*
* Convert a linked list consisting of <b>ifaddrs</b> structures * Convert a linked list consisting of <b>ifaddrs</b> structures