From 321bc1e19e5a19a0126ccc1fe7ed428416b6a6d0 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Wed, 2 Mar 2005 13:19:25 +0000 Subject: [PATCH] removed C99 features --- ir/be/beasm_dump_globals.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ir/be/beasm_dump_globals.c b/ir/be/beasm_dump_globals.c index d0ffcada0..e48fbdee7 100644 --- a/ir/be/beasm_dump_globals.c +++ b/ir/be/beasm_dump_globals.c @@ -211,6 +211,8 @@ static void asm_dump_global ( assembler_t *assembler, entity *ent) const char *ld_name = get_entity_ld_name(ent); int align, is_constant, h; int i,j,size = 0; + ent_variability variability; + ent_visibility visibility; asm_segment_t target_segment = ASM_SEGMENT_DATA_INIT; @@ -219,19 +221,19 @@ static void asm_dump_global ( assembler_t *assembler, entity *ent) */ /* ignore methods, they are emitted later */ - if(is_Method_type(ty)) + if (is_Method_type(ty)) return; /* get the properties of the entity */ - ent_variability variability = get_entity_variability(ent); - ent_visibility visibility = get_entity_visibility(ent); + variability = get_entity_variability(ent); + visibility = get_entity_visibility(ent); if (variability == variability_constant) { /* a constant entity, put it into the const segment */ target_segment = ASM_SEGMENT_CONST; } - /* check, wether it is initialized, if yes create data */ + /* check, whether it is initialized, if yes create data */ if (variability != variability_uninitialized ) { /* if (visibility == visibility_external_visible) { -- 2.20.1