From: Michael Beck Date: Wed, 19 Oct 2005 09:40:05 +0000 (+0000) Subject: used new firm_types.h X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=0b12a59c80ad82ed918c732c7d265a5436c0c994;p=libfirm used new firm_types.h [r6741] --- 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 *