iphlpapi: Make getInterfacePhysicalByName() static.
diff --git a/dlls/iphlpapi/ifenum.c b/dlls/iphlpapi/ifenum.c
index 19c3c3c..d348229 100644
--- a/dlls/iphlpapi/ifenum.c
+++ b/dlls/iphlpapi/ifenum.c
@@ -299,7 +299,7 @@
}
#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 @@
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 @@
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;
diff --git a/dlls/iphlpapi/ifenum.h b/dlls/iphlpapi/ifenum.h
index 6835dca..c348191 100644
--- a/dlls/iphlpapi/ifenum.h
+++ b/dlls/iphlpapi/ifenum.h
@@ -86,8 +86,6 @@
* 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);