X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7d28d93b90eedd2a49da8b9b990296669e46d05c..f552d294e06a8e76162f2ce6f31b9ce02801a33f:/include/simgrid/link.h diff --git a/include/simgrid/link.h b/include/simgrid/link.h index 1d6ad1799c..ab5db948cb 100644 --- a/include/simgrid/link.h +++ b/include/simgrid/link.h @@ -1,6 +1,6 @@ /* Public interface to the Link datatype */ -/* Copyright (c) 2015-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2015-2021. 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. */ @@ -9,7 +9,6 @@ #define INCLUDE_SIMGRID_LINK_H_ #include -#include /* C interface */ SG_BEGIN_DECL @@ -33,7 +32,7 @@ XBT_PUBLIC void sg_link_set_data(sg_link_t link, void* data); XBT_ATTRIB_DEPRECATED_v330("Please use sg_link_get_data()") XBT_PUBLIC void* sg_link_data(const_sg_link_t link); XBT_ATTRIB_DEPRECATED_v330("Please use sg_link_set_data()") XBT_PUBLIC void sg_link_data_set(sg_link_t link, void* data); -XBT_PUBLIC int sg_link_count(); +XBT_PUBLIC size_t sg_link_count(); XBT_PUBLIC sg_link_t* sg_link_list(); SG_END_DECL