From 2816e3ca51171ca2479ae699d682c8e37324cc57 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 28 Nov 2012 17:48:37 +0100 Subject: [PATCH] Add missing prototypes. --- examples/msg/chainsend/common.h | 2 ++ examples/msg/chainsend/iterator.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/examples/msg/chainsend/common.h b/examples/msg/chainsend/common.h index 012bde7284..eaf2de159b 100644 --- a/examples/msg/chainsend/common.h +++ b/examples/msg/chainsend/common.h @@ -9,6 +9,8 @@ static XBT_INLINE void queue_pending_connection(msg_comm_t comm, xbt_dynar_t q) xbt_dynar_push(q, &comm); } +int process_pending_connections(xbt_dynar_t q); + #define MESSAGE_SIZE 1 #define HOSTNAME_LENGTH 20 diff --git a/examples/msg/chainsend/iterator.h b/examples/msg/chainsend/iterator.h index 59a42a204a..32679137e3 100644 --- a/examples/msg/chainsend/iterator.h +++ b/examples/msg/chainsend/iterator.h @@ -18,6 +18,8 @@ typedef struct xbt_dynar_iterator_struct xbt_dynar_iterator_s; /* Iterator methods */ xbt_dynar_iterator_t xbt_dynar_iterator_new(xbt_dynar_t list, xbt_dynar_t (*criteria_fn)(int)); +void xbt_dynar_iterator_reset(xbt_dynar_iterator_t it); +void xbt_dynar_iterator_seek(xbt_dynar_iterator_t it, int pos); void *xbt_dynar_iterator_next(xbt_dynar_iterator_t it); void xbt_dynar_iterator_delete(xbt_dynar_iterator_t it); -- 2.20.1