From bf13a5838c3ceed941af10b4950646074e21e1fa Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Tue, 27 Dec 2005 16:33:35 +0000 Subject: [PATCH] the type 'type' is now called ir_type The old 'type' still exists, but is deprecated from now and will be removed in the next releases. [r7149] --- ir/common/firm_types.h | 7 ++++++- ir/tr/type.h | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ir/common/firm_types.h b/ir/common/firm_types.h index 94d7647c7..5feaf6b25 100644 --- a/ir/common/firm_types.h +++ b/ir/common/firm_types.h @@ -43,7 +43,12 @@ typedef struct tarval tarval; #ifndef _TYPE_TYPEDEF_ #define _TYPE_TYPEDEF_ -typedef struct type type; +typedef struct ir_type type; +#endif + +#ifndef _IR_TYPE_TYPEDEF_ +#define _IR_TYPE_TYPEDEF_ +typedef struct ir_type ir_type; #endif #ifndef _IR_GRAPH_TYPEDEF_ diff --git a/ir/tr/type.h b/ir/tr/type.h index eefe552d6..98989dd75 100644 --- a/ir/tr/type.h +++ b/ir/tr/type.h @@ -105,7 +105,7 @@ */ #ifndef _TYPE_TYPEDEF_ #define _TYPE_TYPEDEF_ -typedef struct type type; +typedef struct ir_type type; #endif # include "type_or_entity.h" @@ -814,7 +814,7 @@ typedef enum { cc_this_call = 0x08000000, /**< The first parameter is a this pointer and is transmitted in a special way. */ - /* some ofter used cases */ + /* some often used cases */ cc_cdecl_set = 0, /**< cdecl calling convention */ cc_stdcall_set = cc_callee_clear_stk, /**< stdcall calling convention */ cc_fastcall_set = cc_reg_param|cc_callee_clear_stk, /**< fastcall calling convention */ -- 2.20.1