X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/17616c140fdd6df448bf3b89e258e0bcd4f0ff0d..4b0fa756ae6e58a74c374a519389ecb9e8b6a4d9:/include/simgrid/semaphore.h?ds=sidebyside diff --git a/include/simgrid/semaphore.h b/include/simgrid/semaphore.h index a1eb19e727..730a0899c1 100644 --- a/include/simgrid/semaphore.h +++ b/include/simgrid/semaphore.h @@ -1,6 +1,6 @@ /* Public interface to the Link datatype */ -/* Copyright (c) 2018-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2018-2020. 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. */ @@ -17,7 +17,7 @@ XBT_PUBLIC void sg_sem_acquire(sg_sem_t sem); XBT_PUBLIC int sg_sem_acquire_timeout(sg_sem_t sem, double timeout); XBT_PUBLIC void sg_sem_release(sg_sem_t sem); XBT_PUBLIC int sg_sem_get_capacity(sg_sem_t sem); -XBT_PUBLIC void sg_sem_destroy(sg_sem_t sem); +XBT_PUBLIC void sg_sem_destroy(const_sg_sem_t sem); XBT_PUBLIC int sg_sem_would_block(sg_sem_t sem); SG_END_DECL