iphlpapi: Make getInterfacePhysicalByName() static.

This commit is contained in:
Francois Gouget 2009-05-13 10:35:50 +02:00 committed by Alexandre Julliard
parent 514c5f2648
commit 0c2430ce3d
2 changed files with 3 additions and 5 deletions

View File

@ -299,7 +299,7 @@ static DWORD getInterfaceMaskByName(const char *name)
} }
#if defined (SIOCGIFHWADDR) #if defined (SIOCGIFHWADDR)
DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr, static DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
PDWORD type) PDWORD type)
{ {
DWORD ret; DWORD ret;
@ -387,7 +387,7 @@ DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
return ret; return ret;
} }
#elif defined (SIOCGARP) #elif defined (SIOCGARP)
DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr, static DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
PDWORD type) PDWORD type)
{ {
DWORD ret; DWORD ret;
@ -446,7 +446,7 @@ DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
return ret; return ret;
} }
#elif defined (HAVE_SYS_SYSCTL_H) && defined (HAVE_NET_IF_DL_H) #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) PDWORD type)
{ {
DWORD ret; DWORD ret;

View File

@ -86,8 +86,6 @@ DWORD getInterfaceIndexByName(const char *name, PDWORD index);
* if internal errors occur. * if internal errors occur.
* Returns NO_ERROR on success. * Returns NO_ERROR on success.
*/ */
DWORD getInterfacePhysicalByName(const char *name, PDWORD len, PBYTE addr,
PDWORD type);
DWORD getInterfacePhysicalByIndex(DWORD index, PDWORD len, PBYTE addr, DWORD getInterfacePhysicalByIndex(DWORD index, PDWORD len, PBYTE addr,
PDWORD type); PDWORD type);