diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-04-20 11:21:36 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-04-20 11:21:36 +0000 |
commit | 37b2130fb2767a39f3d95414c6aca75a67c26298 (patch) | |
tree | 0288d41e710e3142696765cb76288357439c296b /LUFA/MemoryAllocator | |
parent | 619b0b7b6b44e4422ea9aeb0cde41343bb5dda70 (diff) | |
download | lufa-37b2130fb2767a39f3d95414c6aca75a67c26298.tar.gz lufa-37b2130fb2767a39f3d95414c6aca75a67c26298.tar.bz2 lufa-37b2130fb2767a39f3d95414c6aca75a67c26298.zip |
Changed over all deprecated GCC structure tag initializers to the standardized C99 format (thanks to Mike Alexander).
Diffstat (limited to 'LUFA/MemoryAllocator')
-rw-r--r-- | LUFA/MemoryAllocator/DynAlloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/MemoryAllocator/DynAlloc.c b/LUFA/MemoryAllocator/DynAlloc.c index a91e0f35e..4f1c82241 100644 --- a/LUFA/MemoryAllocator/DynAlloc.c +++ b/LUFA/MemoryAllocator/DynAlloc.c @@ -38,8 +38,8 @@ struct uint8_t Mem_Block_Flags[(NUM_BLOCKS / 4) + ((NUM_BLOCKS % 4) ? 1 : 0)];
uint8_t FlagMaskLookupMask[4];
uint8_t FlagMaskLookupNum[4];
-} Mem_MemData = {FlagMaskLookupMask: {(3 << 0), (3 << 2), (3 << 4), (3 << 6)},
- FlagMaskLookupNum: { 0, 2, 4, 6}};
+} Mem_MemData = {.FlagMaskLookupMask = {(3 << 0), (3 << 2), (3 << 4), (3 << 6)},
+ .FlagMaskLookupNum = { 0, 2, 4, 6}};
static uint8_t Mem_GetBlockFlags(const Block_Number_t BlockNum)
{
|