From: asterix Date: Wed, 11 Jun 2008 17:48:12 +0000 (+0000) Subject: Include rand header. X-Git-Tag: 2.0.0~481 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=c3a73162bcd1179cccf0a80782a11d603d49fc65;p=bertos.git Include rand header. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1453 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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;