From 6784458dd8d84423299bc91252bb7c30a55feac1 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 21 Nov 2019 10:38:04 +0100 Subject: [PATCH] Unused stuff. --- src/kernel/EngineImpl.cpp | 4 +--- src/smpi/include/smpi_coll.hpp | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/kernel/EngineImpl.cpp b/src/kernel/EngineImpl.cpp index d22046d53d..07e067317c 100644 --- a/src/kernel/EngineImpl.cpp +++ b/src/kernel/EngineImpl.cpp @@ -12,9 +12,7 @@ #include "src/simix/smx_private.hpp" #include "src/surf/StorageImpl.hpp" #include "src/surf/network_interface.hpp" -#include "src/surf/xml/platf_private.hpp" // FIXME: KILLME. There must be a better way than mimicking XML here - -extern int surf_parse_lineno; +#include "src/surf/xml/platf.hpp" // FIXME: KILLME. There must be a better way than mimicking XML here namespace simgrid { namespace kernel { diff --git a/src/smpi/include/smpi_coll.hpp b/src/smpi/include/smpi_coll.hpp index b5e2479622..c4f1eb5787 100644 --- a/src/smpi/include/smpi_coll.hpp +++ b/src/smpi/include/smpi_coll.hpp @@ -15,8 +15,6 @@ #define COLL_DEFS(cat, ret, args, args2) \ extern int(*cat) args; -#define COLL_SIG(cat, ret, args, args2) int cat args; - #define COLL_UNPAREN(...) __VA_ARGS__ #define COLL_APPLY(action, sig, name) action(sig, name) @@ -73,7 +71,7 @@ void set_bcast(const std::string& name); void set_alltoall(const std::string& name); void set_alltoallv(const std::string& name); -// for each collective type, create the set_* prototype, the description array and the function pointer +// for each collective type, create the function pointer // extern int(*gather)(const void *send_buff, int send_count, MPI_Datatype send_type, void *recv_buff, int recv_count, // MPI_Datatype recv_type, int root, MPI_Comm comm); COLL_APPLY(COLL_DEFS, COLL_GATHER_SIG, "") -- 2.20.1