forked from len0rd/rockbox
Revert "tlsf: pack info structs"
This reverts commit 8a6d7cefc9
.
Packing the structs was mostly a precautionary measure, tlsf should
still work without it.
This commit is contained in:
parent
e9de9c1452
commit
2423d3d4ae
1 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ typedef struct bhdr_struct {
|
||||||
struct free_ptr_struct free_ptr;
|
struct free_ptr_struct free_ptr;
|
||||||
u8_t buffer[1]; /*sizeof(struct free_ptr_struct)]; */
|
u8_t buffer[1]; /*sizeof(struct free_ptr_struct)]; */
|
||||||
} ptr;
|
} ptr;
|
||||||
} __attribute__((packed)) bhdr_t;
|
} bhdr_t;
|
||||||
|
|
||||||
/* This structure is embedded at the beginning of each area, giving us
|
/* This structure is embedded at the beginning of each area, giving us
|
||||||
* enough information to cope with a set of areas */
|
* enough information to cope with a set of areas */
|
||||||
|
@ -202,7 +202,7 @@ typedef struct bhdr_struct {
|
||||||
typedef struct area_info_struct {
|
typedef struct area_info_struct {
|
||||||
bhdr_t *end;
|
bhdr_t *end;
|
||||||
struct area_info_struct *next;
|
struct area_info_struct *next;
|
||||||
} __attribute__((packed)) area_info_t;
|
} area_info_t;
|
||||||
|
|
||||||
typedef struct TLSF_struct {
|
typedef struct TLSF_struct {
|
||||||
/* the TLSF's structure signature */
|
/* the TLSF's structure signature */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue