Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Some more cleanup in smx_context_raw.
[simgrid.git] / src / simdag / private.h
index 447802e..fc7026a 100644 (file)
 #include <stdbool.h>
 
 #define SD_INITIALISED() (sd_global != NULL)
-#define SD_CHECK_INIT_DONE() xbt_assert0(SD_INITIALISED(), "Call SD_init() first");
+#define SD_CHECK_INIT_DONE() xbt_assert(SD_INITIALISED(), "Call SD_init() first");
 
 /* Global variables */
 
 typedef struct SD_global {
-  xbt_dict_t workstations;      /* workstation dictionary */
-  int workstation_count;        /* number of workstations */
   SD_workstation_t *workstation_list;   /* array of workstations, created only if
                                            necessary in SD_workstation_get_list */
-
-  xbt_dict_t links;             /* links */
-  int link_count;               /* number of links */
   SD_link_t *link_list;         /* array of links, created only if
                                    necessary in SD_link_get_list */
   SD_link_t *recyclable_route;  /* array returned by SD_route_get_list