#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 {
#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)
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, "")