summaryrefslogtreecommitdiff
path: root/lib/tlsf
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-10-29 16:50:14 -0400
committerFranklin Wei <git@fwei.tk>2017-10-29 16:51:33 -0400
commit2423d3d4ae1e7093b65e0c56e50ec705e34327b6 (patch)
tree9318c9050d6d80be9760f1d8e9b543d09ee07de2 /lib/tlsf
parente9de9c1452499d852c8b4ec75cde06520fe7c961 (diff)
Revert "tlsf: pack info structs"
This reverts commit 8a6d7cefc9bf45b979ff064d87141949e9b81ca4. Packing the structs was mostly a precautionary measure, tlsf should still work without it.
Diffstat (limited to 'lib/tlsf')
-rw-r--r--lib/tlsf/src/tlsf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tlsf/src/tlsf.c b/lib/tlsf/src/tlsf.c
index e408fe2909..b842be470b 100644
--- a/lib/tlsf/src/tlsf.c
+++ b/lib/tlsf/src/tlsf.c
@@ -194,7 +194,7 @@ typedef struct bhdr_struct {
struct free_ptr_struct free_ptr;
u8_t buffer[1]; /*sizeof(struct free_ptr_struct)]; */
} ptr;
-} __attribute__((packed)) bhdr_t;
+} bhdr_t;
/* This structure is embedded at the beginning of each area, giving us
* enough information to cope with a set of areas */
@@ -202,7 +202,7 @@ typedef struct bhdr_struct {
typedef struct area_info_struct {
bhdr_t *end;
struct area_info_struct *next;
-} __attribute__((packed)) area_info_t;
+} area_info_t;
typedef struct TLSF_struct {
/* the TLSF's structure signature */