Remove deprecated macros ALIGN_STRUCT and PACK_STRUCT

As the macros ALIGN_STRUCT(x) and PACK_STRUCT are no longer used, it is safe
to remove them.  (Their replacement macros are __aligned(x) and __packed.)

Change-Id: If52302b6fba91ac707af828396592ecc3016934d
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
Peter Mitsis 2015-06-15 10:39:26 -04:00 committed by Anas Nashif
commit 580dcb6d8e

View file

@ -99,14 +99,6 @@ __extension__ ({ \
#define _GENERIC_SECTION(segment) __attribute__((section(#segment)))
/*
* Do not use either PACK_STRUCT or ALIGN_STRUCT(x).
* Use __packed or __aligned(x) instead.
*/
#define PACK_STRUCT __attribute__((__packed__))
#define ALIGN_STRUCT(x) __attribute__((aligned(x)))
#define __packed __attribute__((__packed__))
#define __aligned(x) __attribute__((aligned(x)))
#define __may_alias __attribute__((__may_alias__))