From 0e20cfed67a579305fef9501fdd2f27634cd2aa3 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sat, 8 Feb 2014 02:01:17 +0200 Subject: [PATCH] Partially revert "ast: pack the ParseCommon struct" 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 --- src/xkbcomp/ast.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/xkbcomp/ast.h b/src/xkbcomp/ast.h index a141b8f..26cbb3a 100644 --- a/src/xkbcomp/ast.h +++ b/src/xkbcomp/ast.h @@ -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; -- 2.7.4