summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-07-23 10:38:16 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-07-23 10:38:16 +0000
commitdd0b12c9acd1fe840e43fb7b8c67304c1f2211b1 (patch)
treee3be84fc4a218aca811ff2a27b8c8b55fb44506a
parente2e06a7c4142a0e30fcfb32a5b2a3297bfdd699f (diff)
downloadrockbox-dd0b12c9acd1fe840e43fb7b8c67304c1f2211b1.tar.gz
rockbox-dd0b12c9acd1fe840e43fb7b8c67304c1f2211b1.zip
Added RAND_MAX
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4921 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/include/stdlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/include/stdlib.h b/firmware/include/stdlib.h
index 9076bc25d2..14c4870c57 100644
--- a/firmware/include/stdlib.h
+++ b/firmware/include/stdlib.h
@@ -30,6 +30,8 @@ void *calloc (size_t nmemb, size_t size);
30void free(void *); 30void free(void *);
31void *realloc(void *, size_t); 31void *realloc(void *, size_t);
32 32
33#define RAND_MAX 0x7fffffff
34
33void srand(unsigned int seed); 35void srand(unsigned int seed);
34int rand(void); 36int rand(void);
35 37