From 7c11034ab71cbd8dcd17e4da08485cd6e41da42c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Wed, 2 Mar 2016 07:00:57 +0100 Subject: [PATCH] core/lib/trickle-timer.c: fix warning: function declaration isn't a prototype --- core/lib/trickle-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/trickle-timer.c b/core/lib/trickle-timer.c index 2b88f60ef..fd2d7c537 100644 --- a/core/lib/trickle-timer.c +++ b/core/lib/trickle-timer.c @@ -79,7 +79,7 @@ static void double_interval(void *ptr); #if TRICKLE_TIMER_WIDE_RAND /* Returns a 4-byte wide, unsigned random number */ static uint32_t -wide_rand() +wide_rand(void) { return ((uint32_t)random_rand() << 16 | random_rand()); }