From: Martin Quinson Date: Sun, 20 Jan 2019 17:09:13 +0000 (+0100) Subject: kill an unused function X-Git-Tag: v3_22~528 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/dd6fd2d052e9adc8c0ddd39489a87808286719e3?ds=sidebyside kill an unused function --- diff --git a/include/simgrid/simix.h b/include/simgrid/simix.h index b9618c6911..73a6bb15fc 100644 --- a/include/simgrid/simix.h +++ b/include/simgrid/simix.h @@ -140,9 +140,6 @@ XBT_PUBLIC void SIMIX_launch_application(std::string file); * 4. detach (this waits for the simulation to terminate) */ -SG_BEGIN_DECL() -XBT_PUBLIC void SIMIX_maestro_create(void (*code)(void*), void* data); -SG_END_DECL() #ifdef __cplusplus XBT_PUBLIC smx_actor_t SIMIX_process_attach(const char* name, void* data, const char* hostname, std::unordered_map* properties, diff --git a/src/simix/ActorImpl.cpp b/src/simix/ActorImpl.cpp index 353b70d029..37547d7623 100644 --- a/src/simix/ActorImpl.cpp +++ b/src/simix/ActorImpl.cpp @@ -312,12 +312,6 @@ void create_maestro(simgrid::simix::ActorCode code) } } -/** @brief Creates and runs the maestro process */ -void SIMIX_maestro_create(void (*code)(void*), void* data) -{ - simgrid::kernel::actor::create_maestro(std::bind(code, data)); -} - /** * @brief Internal function to create a process. *