Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move initialization somewhere else because people that do not use MSG_launch_applicat...
[simgrid.git] / src / msg / msg_config.c
index 3846bbc..5bb0763 100644 (file)
@@ -1,12 +1,12 @@
 /*     $Id$      */
-  
+
 /* Copyright (c) 2002-2007 Arnaud Legrand.                                  */
 /* Copyright (c) 2007 Bruno Donassolo.                                      */
 /* All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
-  
+
 #include "msg/private.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
  * Example:
  * MSG_config("workstation_model","KCCFLN05");
  */
-void MSG_config(const char *name, ...) {
-  
+void MSG_config(const char *name, ...)
+{
+
   if (!msg_global) {
-     fprintf(stderr, "ERROR: Please call MSG_init() before using MSG_config()\n");
-     abort();
+    fprintf(stderr,
+           "ERROR: Please call MSG_init() before using MSG_config()\n");
+    abort();
   }
-   
-   
+
+
   va_list pa;
-  /*  xbt_cfg_dump("msg_cfg_set","",_msg_cfg_set);*/
-  va_start(pa,name);
-  
-  SIMIX_config(name,pa);
-  
+  /*  xbt_cfg_dump("msg_cfg_set","",_msg_cfg_set); */
+  va_start(pa, name);
+
+  SIMIX_config(name, pa);
+
   va_end(pa);
-       return;
+  return;
 }