From add076e220fdffdeb6de5ae9a9efb6c7e3e0303e Mon Sep 17 00:00:00 2001 From: Mystery Man Date: Thu, 22 Aug 2002 15:26:01 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'V1_1_9_16mdk'. --- mdk-stage1/dietlibc/lib/rand.c | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 mdk-stage1/dietlibc/lib/rand.c (limited to 'mdk-stage1/dietlibc/lib/rand.c') diff --git a/mdk-stage1/dietlibc/lib/rand.c b/mdk-stage1/dietlibc/lib/rand.c deleted file mode 100644 index 10bfaf94d..000000000 --- a/mdk-stage1/dietlibc/lib/rand.c +++ /dev/null @@ -1,9 +0,0 @@ -#include - -static unsigned int seed=1; - -int rand() { - return ((seed = seed * 1103515245 + 12345) % ((unsigned int)RAND_MAX + 1)); -} - -void srand(unsigned int i) { seed=i; } -- cgit v1.2.1