projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
timer: Amend previous commit (and Subversion sucks)
[bertos.git]
/
bertos
/
algo
/
rand.c
diff --git
a/bertos/algo/rand.c
b/bertos/algo/rand.c
index 5e7f1f4186764e6d88589b2ab39aadc728f9dc7c..6478517647ae385591334ff4cb139f955657b096 100644
(file)
--- 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/)
* 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.
*
* \version $Id$
*
* -->
*
* \brief Very simple rand() algorithm.
*
* \version $Id$
- * \author Bern
ardo Innocenti <bernie@develer.com
>
+ * \author Bern
ie 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;