projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sam3n port: use external 12 MHz oscillator as system clock
[bertos.git]
/
bertos
/
algo
/
rand.c
diff --git
a/bertos/algo/rand.c
b/bertos/algo/rand.c
index 5e7f1f4186764e6d88589b2ab39aadc728f9dc7c..901e23f0302b8e670c39709f78acfa6330a5c1a5 100644
(file)
--- 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/)
* the GNU General Public License.
*
* Copyright 2006 Develer S.r.l. (http://www.develer.com/)
- * Copyright 1999 Bern
ardo Innocenti <bernie@develer.com
>
+ * Copyright 1999 Bern
ie Innocenti <bernie@codewiz.org
>
*
* -->
*
* \brief Very simple rand() algorithm.
*
*
* -->
*
* \brief Very simple rand() algorithm.
*
- * \version $Id$
- * \author Bernardo Innocenti <bernie@develer.com>
+ * \author Bernie Innocenti <bernie@codewiz.org>
*/
*/
-/* This would really belong to libc */
+#include "rand.h"
+
+/**
+ * This would really belong to libc
+ */
int rand(void)
{
static unsigned long seed;
int rand(void)
{
static unsigned long seed;