Browse Source

include/starpu_perfmodel.h: only declare a type when needed

Nathalie Furmento 12 years ago
parent
commit
d729c52f33
1 changed files with 2 additions and 3 deletions
  1. 2 3
      include/starpu_perfmodel.h

+ 2 - 3
include/starpu_perfmodel.h

@@ -34,9 +34,6 @@ extern "C"
 #endif
 
 struct starpu_task;
-
-struct starpu_perfmodel_history_table;
-struct starpu_perfmodel_history_list;
 struct starpu_buffer_descr;
 
 /*
@@ -142,6 +139,8 @@ struct starpu_regression_model
 	unsigned nsample;
 };
 
+struct starpu_perfmodel_history_table;
+
 struct starpu_per_arch_perfmodel
 {
 	double (*cost_model)(struct starpu_buffer_descr *t) STARPU_DEPRECATED; /* returns expected duration in µs */