From 42ac34b484b677ae1004c3d0215b27911a100a71 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 18 Jul 2010 07:31:57 +0000 Subject: Change over all makefiles to use C99 standards mode, rather than C99 + GNU Extensions. --- Demos/Device/ClassDriver/RNDISEthernet/Lib/Ethernet.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Demos/Device/ClassDriver/RNDISEthernet/Lib/Ethernet.h') diff --git a/Demos/Device/ClassDriver/RNDISEthernet/Lib/Ethernet.h b/Demos/Device/ClassDriver/RNDISEthernet/Lib/Ethernet.h index 6e8798302..f8b8bffde 100644 --- a/Demos/Device/ClassDriver/RNDISEthernet/Lib/Ethernet.h +++ b/Demos/Device/ClassDriver/RNDISEthernet/Lib/Ethernet.h @@ -85,12 +85,7 @@ { MAC_Address_t Destination; /**< Physical MAC address of the packet recipient */ MAC_Address_t Source; /**< Physics MAC address of the packet source */ - - union - { - uint16_t EtherType; /**< Ethernet packet sub-protocol type, for Ethernet V2 packets */ - uint16_t Length; /**< Ethernet frame length, for Ethernet V1 packets */ - }; + uint16_t EtherType; /**< Ethernet packet sub-protocol type, for Ethernet V2 packets */ } Ethernet_Frame_Header_t; /* External Variables: */ -- cgit v1.2.3