Pārlūkot izejas kodu

move include math.h in the header principal

Andra Hugo 12 gadi atpakaļ
vecāks
revīzija
c94402dfb1

+ 1 - 0
sc_hypervisor/include/sc_hypervisor.h

@@ -20,6 +20,7 @@
 #include <starpu.h>
 #include <sc_hypervisor_config.h>
 #include <sc_hypervisor_monitoring.h>
+#include <math.h>
 
 #ifdef __cplusplus
 extern "C"

+ 0 - 1
sc_hypervisor/src/policies_utils/policy_tools.c

@@ -17,7 +17,6 @@
 #include "sc_hypervisor_policy.h"
 #include "sc_hypervisor_intern.h"
 #include "sc_hypervisor_lp.h"
-#include <math.h>
 
 static int _compute_priority(unsigned sched_ctx)
 {