X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/29a3b2869c0075fc75e8ccc66fc1d9c4c8bf6a85..d011cb8a5566e78daba9b90c6a370dca07b74c5a:/include/simgrid/simdag.h diff --git a/include/simgrid/simdag.h b/include/simgrid/simdag.h index ebf6810bac..849930536b 100644 --- a/include/simgrid/simdag.h +++ b/include/simgrid/simdag.h @@ -1,4 +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. */ @@ -8,6 +8,7 @@ #include #include +#include #include #include @@ -15,7 +16,7 @@ #include #endif -SG_BEGIN_DECL() +SG_BEGIN_DECL /** @brief Link opaque datatype @ingroup SD_link_api @@ -115,7 +116,7 @@ XBT_PUBLIC void SD_task_schedulel(SD_task_t task, int count, ...); * * For example, create a pure computation task (i.e., with no communication) like this: * - * SD_task_schedule(task, my_host_count, my_host_list, my_flops_amount, SD_SCHED_NO_COST, my_rate); + * SD_task_schedule(task, my_host_count, my_host_list, my_flops_amount, SD_SCHED_NO_COST, my_rate) */ #define SD_SCHED_NO_COST NULL @@ -144,7 +145,7 @@ XBT_PUBLIC int SD_task_dependency_exists(SD_task_t src, SD_task_t dst); #define SD_init(argc, argv) \ do { \ sg_version_check(SIMGRID_VERSION_MAJOR, SIMGRID_VERSION_MINOR, SIMGRID_VERSION_PATCH); \ - SD_init_nocheck(argc, argv); \ + SD_init_nocheck((argc), (argv)); \ } while (0) XBT_PUBLIC void SD_init_nocheck(int* argc, char** argv); @@ -195,7 +196,7 @@ XBT_PUBLIC xbt_dynar_t SD_PTG_dotload(const char* filename); //SD_route_get_size //SD_route_get_list //TRACE_sd_set_task_category -SG_END_DECL() +SG_END_DECL #ifdef __cplusplus namespace simgrid {