From 06a7c415a90766e246ae2a1dceadf31e120a8644 Mon Sep 17 00:00:00 2001 From: Joe Soroka Date: Fri, 18 Mar 2011 17:47:35 -0700 Subject: revert complicated & broken flexible array member handling --- tcc.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index 6d37860..ae48047 100644 --- a/tcc.h +++ b/tcc.h @@ -282,8 +282,7 @@ typedef struct AttributeDef { func_args : 5, mode : 4, weak : 1, - resize : 1, - fill : 10; + fill : 11; struct Section *section; int alias_target; /* token */ } AttributeDef; @@ -295,7 +294,6 @@ typedef struct AttributeDef { #define FUNC_ARGS(r) (((AttributeDef*)&(r))->func_args) #define FUNC_ALIGN(r) (((AttributeDef*)&(r))->aligned) #define FUNC_PACKED(r) (((AttributeDef*)&(r))->packed) -#define ARRAY_RESIZE(r) (((AttributeDef*)&(r))->resize) #define ATTR_MODE(r) (((AttributeDef*)&(r))->mode) #define INT_ATTR(ad) (*(int*)(ad)) -- cgit v1.3.1