Finally removed obsolete type "type", use ir_type instead
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 8 Jun 2006 02:44:13 +0000 (02:44 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 8 Jun 2006 02:44:13 +0000 (02:44 +0000)
[r7890]

ir/common/firm_types.h
ir/common/old_fctnames.h

index 1a207b3..1b777ec 100644 (file)
@@ -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;
index ccebc1f..2a5e5f1 100644 (file)
@@ -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