tRename lrand to p9lrand, too. - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 8d8865f3d04d53ecb9f65bdd231dfc365e9dc743
DIR parent 3015b83184ca9d1f6e72800cb1b3df72dd63dd62
HTML Author: wkj <devnull@localhost>
Date: Wed, 29 Dec 2004 02:44:01 +0000
Rename lrand to p9lrand, too.
Diffstat:
M include/libc.h | 1 +
M src/lib9/lrand.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/include/libc.h b/include/libc.h
t@@ -239,6 +239,7 @@ extern int needsrcquote(int);
#ifndef NOPLAN9DEFINES
#define rand p9rand
#define srand p9srand
+#define lrand p9lrand
#endif
extern void srand(long);
DIR diff --git a/src/lib9/lrand.c b/src/lib9/lrand.c
t@@ -57,7 +57,7 @@ p9srand(long seed)
}
long
-lrand(void)
+p9lrand(void)
{
ulong x;