Kill __packed__ attributes on some data structs

This commit is contained in:
Joris Vink 2014-04-18 17:41:56 +02:00
parent 109c17fe5d
commit d2618db525
2 changed files with 4 additions and 5 deletions

View File

@ -287,15 +287,14 @@ struct buf_vec {
struct kore_pool_region {
void *start;
LIST_ENTRY(kore_pool_region) list;
} __attribute__((__packed__));
};
struct kore_pool_entry {
u_int8_t state;
struct kore_pool_region *region;
LIST_ENTRY(kore_pool_entry) list;
} __attribute__((__packed__));
};
struct kore_pool {
u_int32_t elen;
@ -306,7 +305,7 @@ struct kore_pool {
LIST_HEAD(, kore_pool_region) regions;
LIST_HEAD(, kore_pool_entry) freelist;
} __attribute__((__packed__));
};
extern pid_t kore_pid;
extern int kore_debug;

View File

@ -28,7 +28,7 @@
struct meminfo {
u_int16_t magic;
} __attribute__((__packed__));
};
void
kore_mem_init(void)