Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill dead code
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 2 Nov 2014 00:33:54 +0000 (01:33 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 2 Nov 2014 00:33:54 +0000 (01:33 +0100)
src/simix/smx_host.c

index b532191..a98b38b 100644 (file)
@@ -164,24 +164,6 @@ void SIMIX_host_destroy(void *h)
   return;
 }
 
   return;
 }
 
-///**
-// * \brief Returns a dict of all hosts.
-// *
-// * \return List of all hosts (as a #xbt_dict_t)
-// */
-//xbt_dict_t SIMIX_host_get_dict(void)
-//{
-//  xbt_dict_t host_dict = xbt_dict_new_homogeneous(NULL);
-//  xbt_lib_cursor_t cursor = NULL;
-//  char *name = NULL;
-//  void **host = NULL;
-//
-//  xbt_lib_foreach(host_lib, cursor, name, host){
-//    if(host[SIMIX_HOST_LEVEL])
-//            xbt_dict_set(host_dict,name,host[SIMIX_HOST_LEVEL], NULL);
-//  }
-//  return host_dict;
-//}
 smx_host_t simcall_HANDLER_host_get_by_name(smx_simcall_t simcall, const char *name){
    return SIMIX_host_get_by_name(name);
 }
 smx_host_t simcall_HANDLER_host_get_by_name(smx_simcall_t simcall, const char *name){
    return SIMIX_host_get_by_name(name);
 }