aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/RNDISEthernet
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-07-18 07:31:57 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-07-18 07:31:57 +0000
commit42ac34b484b677ae1004c3d0215b27911a100a71 (patch)
tree4304250d9f748ccb13786c9428cb6f193f52cda5 /Demos/Device/LowLevel/RNDISEthernet
parent9299735c75ba99347c7280b2e73064bef693989f (diff)
downloadlufa-42ac34b484b677ae1004c3d0215b27911a100a71.tar.gz
lufa-42ac34b484b677ae1004c3d0215b27911a100a71.tar.bz2
lufa-42ac34b484b677ae1004c3d0215b27911a100a71.zip
Change over all makefiles to use C99 standards mode, rather than C99 + GNU Extensions.
Diffstat (limited to 'Demos/Device/LowLevel/RNDISEthernet')
-rw-r--r--Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h7
-rw-r--r--Demos/Device/LowLevel/RNDISEthernet/makefile2
2 files changed, 2 insertions, 7 deletions
diff --git a/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h b/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h
index e83bad85f..683b187c3 100644
--- a/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h
+++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/Ethernet.h
@@ -94,12 +94,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: */
diff --git a/Demos/Device/LowLevel/RNDISEthernet/makefile b/Demos/Device/LowLevel/RNDISEthernet/makefile
index f44e60a49..69383e263 100644
--- a/Demos/Device/LowLevel/RNDISEthernet/makefile
+++ b/Demos/Device/LowLevel/RNDISEthernet/makefile
@@ -191,7 +191,7 @@ EXTRAINCDIRS = $(LUFA_PATH)/
# gnu89 = c89 plus GCC extensions
# c99 = ISO C99 standard (not yet fully implemented)
# gnu99 = c99 plus GCC extensions
-CSTANDARD = -std=gnu99
+CSTANDARD = -std=c99
# Place -D or -U options here for C sources