X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Falgo%2Frand.c;h=901e23f0302b8e670c39709f78acfa6330a5c1a5;hb=bacf2d16464c810fef1bce0ea54d9bb0a5808486;hp=5e7f1f4186764e6d88589b2ab39aadc728f9dc7c;hpb=16af9888ee7ec67f627e73d65997d2d4cf23a615;p=bertos.git diff --git a/bertos/algo/rand.c b/bertos/algo/rand.c index 5e7f1f41..901e23f0 100644 --- a/bertos/algo/rand.c +++ b/bertos/algo/rand.c @@ -27,17 +27,20 @@ * 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;