Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove a global variable, and use a static to remember if smpi_main is running.
[simgrid.git] / src / smpi / include / private.hpp
index 4abec6c..e663ba5 100644 (file)
@@ -117,7 +117,7 @@ XBT_PRIVATE double smpi_cfg_auto_shared_malloc_thresh();
 XBT_PRIVATE bool smpi_cfg_display_alloc();
 
 // utilities
-XBT_PRIVATE void smpi_init_options_internal(bool called_by_smpimain);
+XBT_PRIVATE void smpi_init_options_internal(bool called_by_smpi_main);
 
 extern XBT_PRIVATE char* smpi_data_exe_start; // start of the data+bss segment of the executable
 extern XBT_PRIVATE size_t smpi_data_exe_size; // size of the data+bss segment of the executable