Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove the DTD and its resolver from the java bindings since we use the flexml parser
[simgrid.git] / src / gras / Virtu / process.c
index f7fb45f388dd93e421af51059f1bec7dd90ff93d..fea5400ad2f486bdc44b8a84c4bdfd7c67ac39b5 100644 (file)
@@ -103,10 +103,10 @@ void *gras_libdata_by_name_from_procdata(const char *name,
   }
   return res;
 }
-void *gras_libdata_by_id(int id) {
-  return gras_libdata_by_id_from_procdata(id,gras_procdata_get());
-}
-void *gras_libdata_by_id_from_procdata(int id,gras_procdata_t *pd) {
+
+void *gras_libdata_by_id(int id)
+{
+  gras_procdata_t *pd = gras_procdata_get();
   if (xbt_set_length(pd->libdata) < xbt_dynar_length(_gras_procdata_fabrics)) {
     /* Damn, some new modules were added since procdata_init(). Amok? */
     /* Get 'em all */