diff options
Diffstat (limited to 'sys/src/cmd/unix/drawterm/libsec/fastrand.c')
-rw-r--r-- | sys/src/cmd/unix/drawterm/libsec/fastrand.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sys/src/cmd/unix/drawterm/libsec/fastrand.c b/sys/src/cmd/unix/drawterm/libsec/fastrand.c deleted file mode 100644 index 145712774..000000000 --- a/sys/src/cmd/unix/drawterm/libsec/fastrand.c +++ /dev/null @@ -1,16 +0,0 @@ -#include <u.h> -#include <libc.h> -#include <libsec.h> - -/* - * use the X917 random number generator to create random - * numbers (faster than truerand() but not as random). - */ -ulong -fastrand(void) -{ - ulong x; - - genrandom((uchar*)&x, sizeof x); - return x; -} |