commit 8d8865f3d04d53ecb9f65bdd231dfc365e9dc743
parent 3015b83184ca9d1f6e72800cb1b3df72dd63dd62
Author: wkj <devnull@localhost>
Date: Wed, 29 Dec 2004 02:44:01 +0000
Rename lrand to p9lrand, too.
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/libc.h b/include/libc.h
@@ -239,6 +239,7 @@ extern int needsrcquote(int);
#ifndef NOPLAN9DEFINES
#define rand p9rand
#define srand p9srand
+#define lrand p9lrand
#endif
extern void srand(long);
diff --git a/src/lib9/lrand.c b/src/lib9/lrand.c
@@ -57,7 +57,7 @@ p9srand(long seed)
}
long
-lrand(void)
+p9lrand(void)
{
ulong x;