diff options
author | phk <phk@FreeBSD.org> | 1998-04-06 09:30:42 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-04-06 09:30:42 +0000 |
commit | ab5541db4c17f7df36f79958b1d1a8d78e4119db (patch) | |
tree | 72f12fd44055c1b4312f8c92a865efcd7d072a07 /sys/sys | |
parent | 3c122bd9611fd22e7945d11368d5f5d49bd18cc7 (diff) | |
download | FreeBSD-src-ab5541db4c17f7df36f79958b1d1a8d78e4119db.zip FreeBSD-src-ab5541db4c17f7df36f79958b1d1a8d78e4119db.tar.gz |
Make read_random() take a (void *) argument instead of (char *)
Diffstat (limited to 'sys/sys')
-rw-r--r-- | sys/sys/random.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/random.h b/sys/sys/random.h index b2b7d12..088d81b 100644 --- a/sys/sys/random.h +++ b/sys/sys/random.h @@ -1,7 +1,7 @@ /* * random.h -- A strong random number generator * - * $Id: random.h,v 1.12 1997/06/07 00:57:26 bde Exp $ + * $Id: random.h,v 1.13 1997/09/14 03:19:03 peter Exp $ * * Version 0.95, last modified 18-Oct-95 * @@ -75,8 +75,8 @@ void add_blkdev_randomness(int major); #ifdef notused void get_random_bytes(void *buf, u_int nbytes); #endif -u_int read_random(char *buf, u_int size); -u_int read_random_unlimited(char *buf, u_int size); +u_int read_random(void *buf, u_int size); +u_int read_random_unlimited(void *buf, u_int size); #ifdef notused u_int write_random(const char *buf, u_int nbytes); #endif |