Fixed problem with erroneous pointer type
This commit is contained in:
parent
8b7e743921
commit
76e03317c7
1 changed files with 5 additions and 3 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: shell-rime.c,v 1.8 2008/08/15 19:06:14 adamdunkels Exp $
|
||||
* $Id: shell-rime.c,v 1.9 2008/08/16 10:04:55 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -453,8 +453,9 @@ send_collect(void *dummy)
|
|||
collect_send(&collect, COLLECT_REXMITS);
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
static void
|
||||
recv_netflood(struct netflood_conn *c)
|
||||
static int
|
||||
recv_netflood(struct netflood_conn *c, rimeaddr_t *from,
|
||||
rimeaddr_t *originator, uint8_t seqno, uint8_t hops)
|
||||
{
|
||||
struct netflood_msg *msg;
|
||||
|
||||
|
@ -463,6 +464,7 @@ recv_netflood(struct netflood_conn *c)
|
|||
ctimer_set(&ctimer, random_rand() % (CLOCK_SECOND * 8),
|
||||
send_collect, NULL);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
const static struct netflood_callbacks netflood_callbacks = { recv_netflood,
|
||||
NULL, NULL };
|
||||
|
|
Loading…
Reference in a new issue