removed unused header
[libfirm] / ir / common / firm_types.h
index 2afd405..83622eb 100644 (file)
@@ -1,15 +1,30 @@
 /*
- * Project:     libFIRM
- * File name:   ir/common/firm_types.c
- * Purpose:     Definition of opaque firm types
- * Author:      Michael Beck
- * Created:
- * CVS-ID:      $Id$
- * Copyright:   (c) 1998-2006 Universität Karlsruhe
- * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
+ * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ *
+ * This file is part of libFirm.
+ *
+ * This file may be distributed and/or modified under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation and appearing in the file LICENSE.GPL included in the
+ * packaging of this file.
+ *
+ * Licensees holding valid libFirm Professional Edition licenses may use
+ * this file in accordance with the libFirm Commercial License.
+ * Agreement provided with the Software.
+ *
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
  */
-#ifndef _FIRM_TYPES_H_
-#define _FIRM_TYPES_H_
+
+/**
+ * @file
+ * @brief      Definition of opaque firm types
+ * @author     Michael Beck
+ * @version    $Id$
+ */
+#ifndef FIRM_COMMON_FIRM_TYPES_H
+#define FIRM_COMMON_FIRM_TYPES_H
 
 #ifdef _MSC_VER
 typedef          __int64 long64;
@@ -112,6 +127,11 @@ typedef struct _ir_extblk ir_extblk, *ir_extblk_ptr;
 typedef void irg_walk_func(ir_node *, void *);
 #endif
 
+#ifndef _IRG_REG_WALK_FUNC_TYPEDEF_
+#define _IRG_REG_WALK_FUNC_TYPEDEF_
+typedef void irg_reg_walk_func(ir_region *, void *);
+#endif
+
 #ifndef _SEQNO_T_TYPEDEF_
 #define _SEQNO_T_TYPEDEF_
 typedef struct sn_entry *seqno_t;
@@ -122,9 +142,4 @@ typedef struct sn_entry *seqno_t;
 typedef struct ir_exec_freq ir_exec_freq, *ir_exec_freq_ptr;
 #endif
 
-#ifndef IRHPASE_TYPEDEF
-#define IRPHASE_TYPEDEF
-typedef struct _ir_phase ir_phase;
 #endif
-
-#endif /* _FIRM_TYPES_H_ */