Francois Gouget : iphlpapi: Make getInterfacePhysicalByName() static.

Alexandre Julliard julliard at winehq.org
Wed May 13 10:19:44 CDT 2009


Module: wine
Branch: master
Commit: 0c2430ce3d7321bc0ed9259bfcad522b58d5ac57
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0c2430ce3d7321bc0ed9259bfcad522b58d5ac57

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed May 13 10:35:50 2009 +0200

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 19c3c3c..d348229 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 6835dca..c348191 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);
 




More information about the wine-cvs mailing list