From 9318117429d6561062ac626b4144e0db996693ce Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Tue, 8 Jul 2008 10:59:31 +0000 Subject: [PATCH] Fixed function prototype compiler warning --- core/net/rime/trickle.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/net/rime/trickle.c b/core/net/rime/trickle.c index 4296520e3..9875ef08b 100644 --- a/core/net/rime/trickle.c +++ b/core/net/rime/trickle.c @@ -33,7 +33,7 @@ * * This file is part of the Contiki operating system. * - * $Id: trickle.c,v 1.10 2008/07/07 23:29:30 adamdunkels Exp $ + * $Id: trickle.c,v 1.11 2008/07/08 10:59:31 adamdunkels Exp $ */ /** @@ -132,7 +132,7 @@ run_trickle(struct trickle_conn *c) PT_END(&c->pt); } /*---------------------------------------------------------------------------*/ -static int +static void recv(struct broadcast_conn *bc, rimeaddr_t *from) { struct trickle_conn *c = (struct trickle_conn *)bc; @@ -163,7 +163,6 @@ recv(struct broadcast_conn *bc, rimeaddr_t *from) send(c); c->cb->recv(c); } - return 0; } /*---------------------------------------------------------------------------*/ static CC_CONST_FUNCTION struct broadcast_callbacks bc = { recv };