mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-18 12:05:11 +00:00
core/lib/trickle-timer.c: fix warning: function declaration isn't a prototype
This commit is contained in:
parent
de7850ed58
commit
7c11034ab7
@ -79,7 +79,7 @@ static void double_interval(void *ptr);
|
|||||||
#if TRICKLE_TIMER_WIDE_RAND
|
#if TRICKLE_TIMER_WIDE_RAND
|
||||||
/* Returns a 4-byte wide, unsigned random number */
|
/* Returns a 4-byte wide, unsigned random number */
|
||||||
static uint32_t
|
static uint32_t
|
||||||
wide_rand()
|
wide_rand(void)
|
||||||
{
|
{
|
||||||
return ((uint32_t)random_rand() << 16 | random_rand());
|
return ((uint32_t)random_rand() << 16 | random_rand());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user