mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:25:58 +00:00
silence some warnings.
svn path=/trunk/; revision=19537
This commit is contained in:
parent
2b1c91b1ff
commit
1c7c9e87d1
2 changed files with 6 additions and 0 deletions
|
@ -139,6 +139,11 @@ DWORD getInterfaceEntryByIndex(DWORD index, PMIB_IFROW entry);
|
||||||
*/
|
*/
|
||||||
char *toIPAddressString(unsigned int addr, char string[16]);
|
char *toIPAddressString(unsigned int addr, char string[16]);
|
||||||
|
|
||||||
|
/* add and delete IP addresses */
|
||||||
|
NTSTATUS addIPAddress( IPAddr Address, IPMask Mask, DWORD IfIndex,
|
||||||
|
PULONG NteContext, PULONG NteInstance );
|
||||||
|
NTSTATUS deleteIpAddress( ULONG NteContext );
|
||||||
|
|
||||||
/* Inserts a route into the route table. */
|
/* Inserts a route into the route table. */
|
||||||
DWORD createIpForwardEntryOS(PMIB_IPFORWARDROW pRoute);
|
DWORD createIpForwardEntryOS(PMIB_IPFORWARDROW pRoute);
|
||||||
|
|
||||||
|
|
|
@ -613,6 +613,7 @@ DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
|
||||||
winsEnabled = TRUE;
|
winsEnabled = TRUE;
|
||||||
RegCloseKey(hKey);
|
RegCloseKey(hKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (ndx = 0; ndx < table->numIndexes; ndx++) {
|
for (ndx = 0; ndx < table->numIndexes; ndx++) {
|
||||||
PIP_ADAPTER_INFO ptr = &pAdapterInfo[ndx];
|
PIP_ADAPTER_INFO ptr = &pAdapterInfo[ndx];
|
||||||
DWORD addrLen = sizeof(ptr->Address), type;
|
DWORD addrLen = sizeof(ptr->Address), type;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue