Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2012-03-20 04:28:53 +0400
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2012-03-20 04:28:53 +0400
commitb0a905c5a0a37a1733a9ea902aa44b8be0912a95 (patch)
tree058c84b04da38af65d632879754d26807c12c7cb /winsup/w32api
parenta1b22837aee6bbcaad0c7751cc863348c127edae (diff)
2012-03-19 Ben Greear <greear@users.sf.net>
* include/routprot.h (IP_LOCAL_BINDING): Move above IP_ADAPTER_BINDING_INFO to correct warning about IP_LOCAL_BINDING being undefined.
Diffstat (limited to 'winsup/w32api')
-rw-r--r--winsup/w32api/ChangeLog5
-rw-r--r--winsup/w32api/include/routprot.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 96f61ce73..fb7b4fe93 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-19 Ben Greear <greear@users.sf.net>
+
+ * include/routprot.h (IP_LOCAL_BINDING): Move above IP_ADAPTER_BINDING_INFO
+ to correct warning about IP_LOCAL_BINDING being undefined.
+
2012-01-16 Keith Marshall <keithmarshall@users.sf.net>
Correct misused 'rm -r' command in uninstall rules.
diff --git a/winsup/w32api/include/routprot.h b/winsup/w32api/include/routprot.h
index 54fe9ee68..319835fef 100644
--- a/winsup/w32api/include/routprot.h
+++ b/winsup/w32api/include/routprot.h
@@ -43,6 +43,10 @@ extern "C" {
#define IPX_PROTOCOL_NLSP 0x00020002
/*--- Router Management Reference - Router Management Structures */
#if (_WIN32_WINNT >= 0x0500)
+typedef struct IP_LOCAL_BINDING {
+ DWORD Address;
+ DWORD Mask;
+} IP_LOCAL_BINDING,*PIP_LOCAL_BINDING;
typedef struct IP_ADAPTER_BINDING_INFO {
ULONG AddressCount;
DWORD RemoteAddress;
@@ -50,10 +54,6 @@ typedef struct IP_ADAPTER_BINDING_INFO {
ULONGLONG Speed;
IP_LOCAL_BINDING Address[];
} IP_ADAPTER_BINDING_INFO,*PIP_ADAPTER_BINDING_INFO;
-typedef struct IP_LOCAL_BINDING {
- DWORD Address;
- DWORD Mask;
-} IP_LOCAL_BINDING,*PIP_LOCAL_BINDING;
typedef struct IPX_ADAPTER_BINDING_INFO {
ULONG AdapterIndex;
UCHAR Network[4];