From: cherierm Date: Fri, 21 Sep 2007 15:57:28 +0000 (+0000) Subject: adapt the prototypes of the declaration to the prototypes of the definition X-Git-Tag: v3.3~1119 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/84079cc1149b1d8c588a029f2bde6c863b5ce740 adapt the prototypes of the declaration to the prototypes of the definition git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4672 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/xbt_queue.c b/src/xbt/xbt_queue.c index a6f6278b13..8321246017 100644 --- a/src/xbt/xbt_queue.c +++ b/src/xbt/xbt_queue.c @@ -57,7 +57,7 @@ void xbt_queue_free(xbt_queue_t *queue) { } /** @brief Get the queue size */ -unsigned long xbt_queue_length(xbt_queue_t queue) { +unsigned long xbt_queue_length(const xbt_queue_t queue) { unsigned long res; xbt_mutex_lock(queue->mutex); res=xbt_dynar_length(queue->data);