little cleanup
[libfirm] / ir / common / firm_types.h
index 0401cad..5feaf6b 100644 (file)
@@ -13,7 +13,7 @@
 
 #ifndef _IDENT_TYPEDEF_
 #define _IDENT_TYPEDEF_
-typedef const struct s_ident ident;
+typedef const struct _ident ident;
 #endif
 
 #ifndef _IR_NODE_TYPEDEF_
@@ -21,6 +21,11 @@ typedef const struct s_ident ident;
 typedef struct ir_node ir_node;
 #endif
 
+#ifndef _IR_MODE_TYPEDEF_
+#define _IR_MODE_TYPEDEF_
+typedef struct ir_mode ir_mode;
+#endif
+
 #ifndef _IR_EDGE_TYPEDEF_
 #define _IR_EDGE_TYPEDEF_
 typedef struct _ir_edge_t ir_edge_t;
@@ -38,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_