Avoid conflicts with stdlib.

This commit is contained in:
wkj 2004-12-29 01:30:19 +00:00
parent 0debe1c681
commit e25d5b710a
2 changed files with 2 additions and 3 deletions

View file

@ -49,7 +49,7 @@ isrand(long seed)
}
void
srand(long seed)
p9srand(long seed)
{
lock(&lk);
isrand(seed);

View file

@ -1,8 +1,7 @@
#include <lib9.h>
int
rand(void)
p9rand(void)
{
return lrand() & 0x7fff;
}