iphlpapi: Make getInterfacePhysicalByName() static.
This commit is contained in:
parent
514c5f2648
commit
0c2430ce3d
|
@ -299,7 +299,7 @@ static DWORD getInterfaceMaskByName(const char *name)
|
|||
}
|
||||
|
||||
#if defined (SIOCGIFHWADDR)
|
||||
DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
|
||||
static DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
|
||||
PDWORD type)
|
||||
{
|
||||
DWORD ret;
|
||||
|
@ -387,7 +387,7 @@ DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
|
|||
return ret;
|
||||
}
|
||||
#elif defined (SIOCGARP)
|
||||
DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
|
||||
static DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
|
||||
PDWORD type)
|
||||
{
|
||||
DWORD ret;
|
||||
|
@ -446,7 +446,7 @@ DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
|
|||
return ret;
|
||||
}
|
||||
#elif defined (HAVE_SYS_SYSCTL_H) && defined (HAVE_NET_IF_DL_H)
|
||||
DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
|
||||
static DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
|
||||
PDWORD type)
|
||||
{
|
||||
DWORD ret;
|
||||
|
|
|
@ -86,8 +86,6 @@ DWORD getInterfaceIndexByName(const char *name, PDWORD index);
|
|||
* if internal errors occur.
|
||||
* Returns NO_ERROR on success.
|
||||
*/
|
||||
DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
|
||||
PDWORD type);
|
||||
DWORD getInterfacePhysicalByIndex(DWORD index, PDWORD len, PBYTE addr,
|
||||
PDWORD type);
|
||||
|
||||
|
|
Loading…
Reference in New Issue