summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2021-09-01 07:24:07 -0400
committerFrans Kaashoek <[email protected]>2021-09-01 07:24:07 -0400
commitbf4816c9c6a23ee5489ff4f0b04f21b002b3028e (patch)
treecb369f1e73a14dcc38fc210483b69c884f13f773
parent02424b1f8406d321e2f2a240328a2ee255a351af (diff)
downloadxv6-labs-bf4816c9c6a23ee5489ff4f0b04f21b002b3028e.tar.gz
xv6-labs-bf4816c9c6a23ee5489ff4f0b04f21b002b3028e.tar.bz2
xv6-labs-bf4816c9c6a23ee5489ff4f0b04f21b002b3028e.zip
Delete unused code (Jude Rich <[email protected]>)
-rw-r--r--user/usertests.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/user/usertests.c b/user/usertests.c
index 567b691..0fe7371 100644
--- a/user/usertests.c
+++ b/user/usertests.c
@@ -2482,14 +2482,6 @@ void argptest(char *s)
close(fd);
}
-unsigned long randstate = 1;
-unsigned int
-rand()
-{
- randstate = randstate * 1664525 + 1013904223;
- return randstate;
-}
-
// check that there's an invalid page beneath
// the user stack, to catch stack overflow.
void