Partially revert "ast: pack the ParseCommon struct"
authorRan Benita <ran234@gmail.com>
Sat, 8 Feb 2014 00:01:17 +0000 (02:01 +0200)
committerRan Benita <ran234@gmail.com>
Sat, 8 Feb 2014 00:02:32 +0000 (02:02 +0200)
This reverts commit 1e6e5669c6229846830f0b497591de4e3cf588eb.

It's probably safe, but let's not take any chances, as I don't have any
esoteric arch to test on. But keep the ATTR in case it's ever useful.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/ast.h

index a141b8f..26cbb3a 100644 (file)
@@ -143,9 +143,7 @@ expr_op_type_to_string(enum expr_op_type type);
 const char *
 expr_value_type_to_string(enum expr_value_type type);
 
-/* This struct contains fields common to all other AST nodes. It is only
- * ever embedded in other structs, so save some memory by packing it. */
-typedef struct ATTR_PACKED _ParseCommon  {
+typedef struct _ParseCommon  {
     struct _ParseCommon *next;
     enum stmt_type type;
 } ParseCommon;