From 84079cc1149b1d8c588a029f2bde6c863b5ce740 Mon Sep 17 00:00:00 2001 From: cherierm Date: Fri, 21 Sep 2007 15:57:28 +0000 Subject: [PATCH] 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 --- src/xbt/xbt_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1