Commit 0c2430ce authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

iphlpapi: Make getInterfacePhysicalByName() static.

parent 514c5f26
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment