include: stats.h: Packed attribute was incorrect.

This header was actually creating a struct in the bss. Fixed it.

Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
This commit is contained in:
Adithya Baglody 2018-11-27 14:58:25 +05:30 committed by Anas Nashif
parent ec25b7b7cb
commit 74296b9830

View File

@ -61,7 +61,7 @@ extern "C" {
struct stats_name_map {
u16_t snm_off;
const char *snm_name;
} __packed;
} __attribute__((packed));
struct stats_hdr {
const char *s_name;