From c3a73162bcd1179cccf0a80782a11d603d49fc65 Mon Sep 17 00:00:00 2001 From: asterix Date: Wed, 11 Jun 2008 17:48:12 +0000 Subject: [PATCH] Include rand header. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1453 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/algo/rand.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bertos/algo/rand.c b/bertos/algo/rand.c index 5e7f1f41..30a7fa50 100644 --- a/bertos/algo/rand.c +++ b/bertos/algo/rand.c @@ -37,7 +37,11 @@ * \author Bernardo Innocenti */ -/* This would really belong to libc */ +#include "rand.h" + +/** + * This would really belong to libc + */ int rand(void) { static unsigned long seed; -- 2.25.1