Reverted r27079. Seems to be wrong.
[libfirm] / ir / be / beilpsched.h
index 2b6a682..fed571d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -34,9 +34,7 @@
 
 #include "irgraph.h"
 #include "irnode.h"
-
-typedef struct _ilp_sched_selector_t    ilp_sched_selector_t;
-typedef struct _ilp_sched_selector_if_t ilp_sched_selector_if_t;
+#include "be_types.h"
 
 /**
  * A selector interface which is used by the ILP schedule framework.
@@ -94,7 +92,7 @@ struct _ilp_sched_selector_if_t {
         * @param cycle      The cycle at which the node is scheduled.
         * @param block_env  The block scheduling environment.
         */
-       void (*node_scheduled)(const void *self, ir_node *irn, unsigned cycle, void *block_env);
+       void (*node_scheduled)(const void *self, const ir_node *irn, unsigned cycle, void *block_env);
 };
 
 /**