Commit Diff


commit - 0debe1c68113127acdbc3865254bd4abb2121f40
commit + e25d5b710a929bdd50c7fd84b57c507ee4a0fdb0
blob - 2ebb3962215be634b7e129fe6f721e6b838baf0e
blob + e9bf4ac2c9c604adc79258cc32c0a50c91a13a42
--- src/lib9/lrand.c
+++ src/lib9/lrand.c
@@ -49,7 +49,7 @@ isrand(long seed)
 }
 
 void
-srand(long seed)
+p9srand(long seed)
 {
 	lock(&lk);
 	isrand(seed);
blob - ecb9eac97d84ec3c07cbc4f42851a829a83e8128
blob + 75d1d47007968e6155d1840addf80cf39a998144
--- src/lib9/rand.c
+++ src/lib9/rand.c
@@ -1,8 +1,7 @@
 #include	<lib9.h>
 
 int
-rand(void)
+p9rand(void)
 {
 	return lrand() & 0x7fff;
 }
-