Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
For win64 it is cast unsigned long long.
[simgrid.git] / src / msg / deployment.c
index 01b9c9e..fadf887 100644 (file)
@@ -8,7 +8,6 @@
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
 
-
 /** \ingroup msg_easier_life
  * \brief An application deployer.
  *
@@ -27,7 +26,7 @@
 void MSG_launch_application(const char *file)
 {
 
-  xbt_assert0(msg_global,
+  xbt_assert(msg_global,
               "MSG_global_init_args has to be called before MSG_launch_application.");
 
   SIMIX_launch_application(file);
@@ -76,7 +75,8 @@ xbt_main_func_t MSG_get_registered_function(const char *name)
  * \brief register functions bypassing the parser
  */
 
-void MSG_set_function(const char* host_id,const char *function_name,xbt_dynar_t arguments)
+void MSG_set_function(const char *host_id, const char *function_name,
+                      xbt_dynar_t arguments)
 {
-   SIMIX_process_set_function(host_id,function_name,arguments,-1,-1);
+  SIMIX_process_set_function(host_id, function_name, arguments, -1, -1);
 }