Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reindent everything (possibly breaking all branches, but for the last time)
[simgrid.git] / src / gras / Virtu / sg_dns.c
index 509b89d..c791b31 100644 (file)
 
 #include "gras/Virtu/virtu_sg.h"
 
-const char *gras_os_myname(void) {
+const char *gras_os_myname(void)
+{
   smx_process_t process = SIMIX_process_self();
   if ((process != NULL) && (process->simdata))
-   return SIMIX_host_get_name(SIMIX_host_self());
-  else 
+    return SIMIX_host_get_name(SIMIX_host_self());
+  else
     return "";
 }