diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-12 01:14:36 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-12 01:14:36 +0000 |
commit | c6bc765fcaf33a005e54c1e30f8ab538eaa3b099 (patch) | |
tree | bbe3f4a31a69fee46f6299678354f5b613e44e46 | |
parent | 6f4ee195af585379325c58d83fefbbf844329416 (diff) | |
download | edk2-c6bc765fcaf33a005e54c1e30f8ab538eaa3b099.zip edk2-c6bc765fcaf33a005e54c1e30f8ab538eaa3b099.tar.gz edk2-c6bc765fcaf33a005e54c1e30f8ab538eaa3b099.tar.bz2 |
Fix ICC build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6464 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdeModulePkg/Universal/Network/Ip4Dxe/Ip4If.h | 4 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.h | 11 |
2 files changed, 9 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4If.h b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4If.h index e8e60c2..d02e7d1 100644 --- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4If.h +++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4If.h @@ -148,7 +148,7 @@ BOOLEAN // Notice the special cases that DHCP can configure the interface
// with 0.0.0.0/0.0.0.0.
//
-typedef struct _IP4_INTERFACE {
+struct _IP4_INTERFACE {
UINT32 Signature;
LIST_ENTRY Link;
INTN RefCnt;
@@ -196,7 +196,7 @@ typedef struct _IP4_INTERFACE { //
LIST_ENTRY IpInstances;
BOOLEAN PromiscRecv;
-} IP4_INTERFACE;
+};
IP4_INTERFACE *
Ip4CreateInterface (
diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.h b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.h index 1058432..3f19167 100644 --- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.h +++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.h @@ -50,6 +50,8 @@ Abstract: #include "Ip4Input.h"
#include "Ip4Output.h"
+
+
typedef enum {
IP4_PROTOCOL_SIGNATURE = EFI_SIGNATURE_32 ('I', 'P', '4', 'P'),
IP4_SERVICE_SIGNATURE = EFI_SIGNATURE_32 ('I', 'P', '4', 'S'),
@@ -109,7 +111,8 @@ typedef struct { EFI_IP4_RECEIVE_DATA RxData;
} IP4_RXDATA_WRAP;
-typedef struct _IP4_PROTOCOL {
+
+struct _IP4_PROTOCOL {
UINT32 Signature;
EFI_IP4_PROTOCOL Ip4Proto;
@@ -148,9 +151,9 @@ typedef struct _IP4_PROTOCOL { EFI_IP4_CONFIG_DATA ConfigData;
-} IP4_PROTOCOL;
+};
-typedef struct _IP4_SERVICE {
+struct _IP4_SERVICE {
UINT32 Signature;
EFI_SERVICE_BINDING_PROTOCOL ServiceBinding;
INTN State;
@@ -201,7 +204,7 @@ typedef struct _IP4_SERVICE { // NIC this IP4_SERVICE works on.
//
CHAR16 *MacString;
-} IP4_SERVICE;
+};
#define IP4_INSTANCE_FROM_PROTOCOL(Ip4) \
CR ((Ip4), IP4_PROTOCOL, Ip4Proto, IP4_PROTOCOL_SIGNATURE)
|