summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/lib/random.c
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-06-04 18:47:09 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2003-06-04 18:47:09 +0000
commitc46806bf74c2618daa398cb7c3e4b1c47509a105 (patch)
tree0b429074ffc365e7eba2391cf00d7f4eecf372ab /mdk-stage1/dietlibc/lib/random.c
parent7b14ca284d598e7748f6f7a831389525c84890ba (diff)
downloaddrakx-backup-do-not-use-c46806bf74c2618daa398cb7c3e4b1c47509a105.tar
drakx-backup-do-not-use-c46806bf74c2618daa398cb7c3e4b1c47509a105.tar.gz
drakx-backup-do-not-use-c46806bf74c2618daa398cb7c3e4b1c47509a105.tar.bz2
drakx-backup-do-not-use-c46806bf74c2618daa398cb7c3e4b1c47509a105.tar.xz
drakx-backup-do-not-use-c46806bf74c2618daa398cb7c3e4b1c47509a105.zip
even more removals
Diffstat (limited to 'mdk-stage1/dietlibc/lib/random.c')
-rw-r--r--mdk-stage1/dietlibc/lib/random.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/mdk-stage1/dietlibc/lib/random.c b/mdk-stage1/dietlibc/lib/random.c
deleted file mode 100644
index e7785c455..000000000
--- a/mdk-stage1/dietlibc/lib/random.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include <stdlib.h>
-
-static unsigned int seed=1;
-
-long int random() {
- return ((seed = seed * 1103515245 + 12345) % ((unsigned int)RAND_MAX + 1));
-}
-
-void srandom(unsigned int i) { seed=i; }