From 0c2430ce3d7321bc0ed9259bfcad522b58d5ac57 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 13 May 2009 10:35:50 +0200 Subject: [PATCH] iphlpapi: Make getInterfacePhysicalByName() static. --- dlls/iphlpapi/ifenum.c | 6 +++--- dlls/iphlpapi/ifenum.h | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/dlls/iphlpapi/ifenum.c b/dlls/iphlpapi/ifenum.c index 19c3c3c952c..d3482290a76 100644 --- a/dlls/iphlpapi/ifenum.c +++ b/dlls/iphlpapi/ifenum.c @@ -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; diff --git a/dlls/iphlpapi/ifenum.h b/dlls/iphlpapi/ifenum.h index 6835dcad3c2..c348191912c 100644 --- a/dlls/iphlpapi/ifenum.h +++ b/dlls/iphlpapi/ifenum.h @@ -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);