X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/17616c140fdd6df448bf3b89e258e0bcd4f0ff0d..3dd753cd9e46d794e00629d03183250aec4a17e4:/include/simgrid/barrier.h diff --git a/include/simgrid/barrier.h b/include/simgrid/barrier.h index 83347fea4d..ff92119c12 100644 --- a/include/simgrid/barrier.h +++ b/include/simgrid/barrier.h @@ -1,6 +1,6 @@ /* Public interface to the Link datatype */ -/* Copyright (c) 2018-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2018-2022. 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. */ @@ -20,7 +20,7 @@ constexpr int SG_BARRIER_SERIAL_THREAD = -1; SG_BEGIN_DECL XBT_PUBLIC sg_bar_t sg_barrier_init(unsigned int count); -XBT_PUBLIC void sg_barrier_destroy(sg_bar_t bar); +XBT_PUBLIC void sg_barrier_destroy(const_sg_bar_t bar); XBT_PUBLIC int sg_barrier_wait(sg_bar_t bar); SG_END_DECL