projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed over all deprecated GCC structure tag initializers to the standardized C99...
[pub/USBasp.git]
/
LUFA
/
MemoryAllocator
/
DynAlloc.c
diff --git
a/LUFA/MemoryAllocator/DynAlloc.c
b/LUFA/MemoryAllocator/DynAlloc.c
index
a91e0f3
..
4f1c822
100644
(file)
--- 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)];
\r
uint8_t FlagMaskLookupMask[4];
\r
uint8_t FlagMaskLookupNum[4];
\r
uint8_t Mem_Block_Flags[(NUM_BLOCKS / 4) + ((NUM_BLOCKS % 4) ? 1 : 0)];
\r
uint8_t FlagMaskLookupMask[4];
\r
uint8_t FlagMaskLookupNum[4];
\r
-} Mem_MemData = {
FlagMaskLookupMask:
{(3 << 0), (3 << 2), (3 << 4), (3 << 6)},
\r
-
FlagMaskLookupNum:
{ 0, 2, 4, 6}};
\r
+} Mem_MemData = {
.FlagMaskLookupMask =
{(3 << 0), (3 << 2), (3 << 4), (3 << 6)},
\r
+
.FlagMaskLookupNum =
{ 0, 2, 4, 6}};
\r
\r
static uint8_t Mem_GetBlockFlags(const Block_Number_t BlockNum)
\r
{
\r
\r
static uint8_t Mem_GetBlockFlags(const Block_Number_t BlockNum)
\r
{
\r