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:
parent
ebe62ab63d
commit
580dcb6d8e
1 changed files with 0 additions and 8 deletions
|
@ -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__))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue