X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Falgo%2Frand.c;h=6478517647ae385591334ff4cb139f955657b096;hb=4cc44c9888a0336b9d01121ec0b7ad95f4a76195;hp=5e7f1f4186764e6d88589b2ab39aadc728f9dc7c;hpb=16af9888ee7ec67f627e73d65997d2d4cf23a615;p=bertos.git diff --git a/bertos/algo/rand.c b/bertos/algo/rand.c index 5e7f1f41..64785176 100644 --- a/bertos/algo/rand.c +++ b/bertos/algo/rand.c @@ -27,17 +27,21 @@ * the GNU General Public License. * * Copyright 2006 Develer S.r.l. (http://www.develer.com/) - * Copyright 1999 Bernardo Innocenti + * Copyright 1999 Bernie Innocenti * * --> * * \brief Very simple rand() algorithm. * * \version $Id$ - * \author Bernardo Innocenti + * \author Bernie Innocenti */ -/* This would really belong to libc */ +#include "rand.h" + +/** + * This would really belong to libc + */ int rand(void) { static unsigned long seed;