diff options
author | 1997-06-22 04:58:03 +0000 | |
---|---|---|
committer | 1997-06-22 04:58:03 +0000 | |
commit | 082fb45b162b15d808cf2fa58e970f35fc4a1e2d (patch) | |
tree | 4a6b10c987b2b91d52118c4487872299c79abc7e /sys/dev/rndioctl.h | |
parent | The mac68k ite emulates a vt100, _not_ a vt220. This is the sorta simple (diff) | |
download | wireguard-openbsd-082fb45b162b15d808cf2fa58e970f35fc4a1e2d.tar.xz wireguard-openbsd-082fb45b162b15d808cf2fa58e970f35fc4a1e2d.zip |
wasn't a race after all. properly initialize event_q pointers so the
last one doesn't point off the end.
Diffstat (limited to 'sys/dev/rndioctl.h')
-rw-r--r-- | sys/dev/rndioctl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/rndioctl.h b/sys/dev/rndioctl.h index a536bb8d2f4..b5f161932df 100644 --- a/sys/dev/rndioctl.h +++ b/sys/dev/rndioctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rndioctl.h,v 1.4 1997/06/21 04:59:37 flipk Exp $ */ +/* $OpenBSD: rndioctl.h,v 1.5 1997/06/22 04:58:06 flipk Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff. @@ -38,14 +38,14 @@ #ifndef __RNDIOCTL_H__ #define __RNDIOCTL_H__ +/* ioctl()'s for the random number generator */ + struct rnd_pool_info { size_t entropy_count; size_t buf_size; u_int32_t *buf; }; -/* ioctl()'s for the random number generator */ - #define RNDGETENTCNT _IOR('R', 0, sizeof(u_int)) #define RNDADDTOENTCNT _IOW('R', 1, sizeof(u_int)) #define RNDGETPOOL _IOWR('R', 2, sizeof(struct rnd_pool_info)) |