From dd6fd2d052e9adc8c0ddd39489a87808286719e3 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 20 Jan 2019 18:09:13 +0100 Subject: [PATCH] kill an unused function --- include/simgrid/simix.h | 3 --- src/simix/ActorImpl.cpp | 6 ------ 2 files changed, 9 deletions(-) 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. * -- 2.20.1