diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2018-01-16 21:09:35 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2018-01-18 22:19:45 +0300 |
commit | 5a4502fc6bc53e6503169da3028f456b64811a0b (patch) | |
tree | 61a249560d8c4dfa7232676c326088a8f12ec923 /90d4ce1b3b25ca18446131906007571cc0ed0191 | |
parent | ccb6eb85729ad0657b5c852cb2a6ddb519d60898 (diff) |
linux-gen: align: Fix alignment for typedef definitions
* typedef struct { } ODP_ALIGN() test_t; is correct
* typedef struct ODP_ALIGN() {} test_t; is correct and
preferred from gcc standards
* typedef struct {} test_t ODP_ALIGN() discards align
Had segfauls on gcc-7 using that
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to '90d4ce1b3b25ca18446131906007571cc0ed0191')
0 files changed, 0 insertions, 0 deletions