mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-10 14:54:46 +00:00
Fixed problem with erroneous pointer type
This commit is contained in:
parent
8b7e743921
commit
76e03317c7
@ -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 New Issue
Block a user