mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 10:20:21 +00:00
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 a new issue