From d49a8741d0780f324c8ee35176cb37b0188ec8f2 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 8 Jun 2006 02:44:13 +0000 Subject: [PATCH 1/1] Finally removed obsolete type "type", use ir_type instead [r7890] --- ir/common/firm_types.h | 5 ----- ir/common/old_fctnames.h | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/ir/common/firm_types.h b/ir/common/firm_types.h index 1a207b313..1b777eceb 100644 --- a/ir/common/firm_types.h +++ b/ir/common/firm_types.h @@ -46,11 +46,6 @@ typedef struct _ir_block_edge_t ir_block_edge_t; typedef struct tarval tarval; #endif -#ifndef _TYPE_TYPEDEF_ -#define _TYPE_TYPEDEF_ -typedef struct ir_type type; -#endif - #ifndef _IR_TYPE_TYPEDEF_ #define _IR_TYPE_TYPEDEF_ typedef struct ir_type ir_type; diff --git a/ir/common/old_fctnames.h b/ir/common/old_fctnames.h index ccebc1f57..2a5e5f1de 100644 --- a/ir/common/old_fctnames.h +++ b/ir/common/old_fctnames.h @@ -99,6 +99,7 @@ #define dont_dump_loop_information() dump_loop_information(0) /* type.h */ +typedef ir_type type; #define get_type_nameid(_t_) get_type_ident(_t_) #define set_type_nameid(_t_,_i_) set_type_ident(_t_,_i_) #define get_class_n_member get_class_n_members -- 2.20.1