Removed unused return value from ruc recv callback

This commit is contained in:
adamdunkels 2007-11-27 23:32:34 +00:00
parent 8cf6ac9212
commit b07b46dd79
4 changed files with 15 additions and 18 deletions

View file

@ -33,7 +33,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: rmh.c,v 1.2 2007/11/17 09:47:55 adamdunkels Exp $
* $Id: rmh.c,v 1.3 2007/11/27 23:32:34 adamdunkels Exp $
*/
/**
@ -63,7 +63,7 @@ struct data_hdr {
#endif
/*---------------------------------------------------------------------------*/
static int
static void
received(struct ruc_conn *uc, rimeaddr_t *from, u8_t seqno)
{
struct rmh_conn *c = (struct rmh_conn *)uc;
@ -90,10 +90,8 @@ received(struct ruc_conn *uc, rimeaddr_t *from, u8_t seqno)
PRINTF("forwarding to %d\n", rt->nexthop.u16[0]);
msg->hops++;
ruc_send(&c->c, nexthop, c->num_rexmit);
}
}
return 1;
}
/*---------------------------------------------------------------------------*/
static void