Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move resource_used to the private part
[simgrid.git] / src / include / surf / surf.h
index 5bda063..5ae0807 100644 (file)
@@ -57,7 +57,6 @@ typedef struct surf_resource_public {
   s_surf_action_state_t states; /* Any living action on this resource */
   void *(*name_service)(const char *name);
   const char *(*get_resource_name)(void *resource_id);
-  int (*resource_used)(void *resource_id);
 
   e_surf_action_state_t (*action_get_state)(surf_action_t action);
   void (*action_free)(surf_action_t action);
@@ -82,7 +81,7 @@ typedef struct surf_resource_object {
 /* Cpu resource */
 typedef enum {
   SURF_CPU_ON = 1,             /* Ready        */
-  SURF_CPU_OFF = 0,            /* Running      */
+  SURF_CPU_OFF = 0             /* Running      */
 } e_surf_cpu_state_t;
 
 typedef struct surf_cpu_resource_extension_private *surf_cpu_resource_extension_private_t;