X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a04d968fb2054d0ba895ddabb2b86f0ff42fd4aa..273148e36d46d15113195eae98cb45aca71f07d5:/src/simdag/simdag_private.hpp diff --git a/src/simdag/simdag_private.hpp b/src/simdag/simdag_private.hpp index b18dc476a8..7565424636 100644 --- a/src/simdag/simdag_private.hpp +++ b/src/simdag/simdag_private.hpp @@ -1,5 +1,4 @@ -/* Copyright (c) 2006-2018. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2006-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -35,7 +34,6 @@ std::set* simulate (double how_long); } } -extern "C" { extern XBT_PRIVATE simgrid::sd::Global *sd_global; /* Task */ @@ -53,7 +51,7 @@ struct s_SD_task_t { bool marked = false; /* used to check if the task DAG has some cycle*/ - /* dependencies */ + /* dependencies -- cannot be embedded in the struct since it's not handled as a real C++ class */ std::set *inputs; std::set *outputs; std::set *predecessors; @@ -72,5 +70,4 @@ XBT_PRIVATE void SD_task_run(SD_task_t task); XBT_PRIVATE bool acyclic_graph_detail(xbt_dynar_t dag); XBT_PRIVATE void uniq_transfer_task_name(SD_task_t task); XBT_PRIVATE const char *__get_state_name(e_SD_task_state_t state); -} #endif