Commit 8e0a480c authored by Austin Seipp's avatar Austin Seipp

rts: remove old-style field designator extension (#9396)

Authored-by: jrp
Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
parent 4ba884bd
......@@ -210,32 +210,32 @@ extern CostCentreStack * RTS_VAR(CCS_LIST); // registered CCS list
* Declaring Cost Centres & Cost Centre Stacks.
* -------------------------------------------------------------------------- */
# define CC_DECLARE(cc_ident,name,mod,loc,caf,is_local) \
is_local CostCentre cc_ident[1] \
= {{ ccID : 0, \
label : name, \
module : mod, \
srcloc : loc, \
time_ticks : 0, \
mem_alloc : 0, \
link : 0, \
is_caf : caf \
# define CC_DECLARE(cc_ident,name,mod,loc,caf,is_local) \
is_local CostCentre cc_ident[1] \
= {{ .ccID = 0, \
.label = name, \
.module = mod, \
.srcloc = loc, \
.time_ticks = 0, \
.mem_alloc = 0, \
.link = 0, \
.is_caf = caf \
}};
# define CCS_DECLARE(ccs_ident,cc_ident,is_local) \
is_local CostCentreStack ccs_ident[1] \
= {{ ccsID : 0, \
cc : cc_ident, \
prevStack : NULL, \
indexTable : NULL, \
root : NULL, \
depth : 0, \
selected : 0, \
scc_count : 0, \
time_ticks : 0, \
mem_alloc : 0, \
inherited_ticks : 0, \
inherited_alloc : 0 \
# define CCS_DECLARE(ccs_ident,cc_ident,is_local) \
is_local CostCentreStack ccs_ident[1] \
= {{ .ccsID = 0, \
.cc = cc_ident, \
.prevStack = NULL, \
.indexTable = NULL, \
.root = NULL, \
.depth = 0, \
.selected = 0, \
.scc_count = 0, \
.time_ticks = 0, \
.mem_alloc = 0, \
.inherited_ticks = 0, \
.inherited_alloc = 0 \
}};
/* -----------------------------------------------------------------------------
......
......@@ -40,11 +40,11 @@ static int nextId; // id of next retainer set
* from growing too large.
* -------------------------------------------------------------------------- */
RetainerSet rs_MANY = {
num : 0,
hashKey : 0,
link : NULL,
id : 1,
element : {}
.num = 0,
.hashKey = 0,
.link = NULL,
.id = 1,
.element = {}
};
/* -----------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment