From 0b12a59c80ad82ed918c732c7d265a5436c0c994 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Wed, 19 Oct 2005 09:40:05 +0000 Subject: [PATCH] used new firm_types.h [r6741] --- ir/ir/irgraph.h | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/ir/ir/irgraph.h b/ir/ir/irgraph.h index 3f6fb7dd4..a817cd397 100644 --- a/ir/ir/irgraph.h +++ b/ir/ir/irgraph.h @@ -17,28 +17,15 @@ * * @author Martin Trapp, Christian Schaefer */ +#ifndef _IRGRAPH_H_ +#define _IRGRAPH_H_ #include +#include "firm_types.h" #include "irop.h" #include "irextbb.h" -# ifndef _IRGRAPH_H_ -# define _IRGRAPH_H_ -# include "entity.h" - -/* to resolve recursion between irnode.h and irgraph.h */ -#ifndef _IR_NODE_TYPEDEF_ -#define _IR_NODE_TYPEDEF_ -typedef struct ir_node ir_node; -#endif - -/* to resolve recursion between entity.h and irgraph.h */ -#ifndef _IR_GRAPH_TYPEDEF_ -#define _IR_GRAPH_TYPEDEF_ -typedef struct ir_graph ir_graph; -#endif - /** * @page ir_graph The struct ir_graph * -- 2.20.1