X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/17616c140fdd6df448bf3b89e258e0bcd4f0ff0d..cb3dd47fc3ee91fbf921e02078184253ef3f775d:/include/simgrid/mutex.h diff --git a/include/simgrid/mutex.h b/include/simgrid/mutex.h index 29ca33582a..12c5fa4a54 100644 --- a/include/simgrid/mutex.h +++ b/include/simgrid/mutex.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2019-2023. 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. */ @@ -14,7 +14,7 @@ XBT_PUBLIC sg_mutex_t sg_mutex_init(); XBT_PUBLIC void sg_mutex_lock(sg_mutex_t mutex); XBT_PUBLIC void sg_mutex_unlock(sg_mutex_t mutex); XBT_PUBLIC int sg_mutex_try_lock(sg_mutex_t mutex); -XBT_PUBLIC void sg_mutex_destroy(sg_mutex_t mutex); +XBT_PUBLIC void sg_mutex_destroy(const_sg_mutex_t mutex); SG_END_DECL