diff options
author | flipk <flipk@cvs.openbsd.org> | 1997-06-21 04:59:48 +0000 |
---|---|---|
committer | flipk <flipk@cvs.openbsd.org> | 1997-06-21 04:59:48 +0000 |
commit | 2e6593ffc650b318fa58ad6f1f02bb806435f246 (patch) | |
tree | d25a24f6418bde00e610d7a93a81e27de7636ae6 /sys/dev/rndioctl.h | |
parent | 18c53573d42041a83810b2d11f067b8f58dfd78e (diff) |
revert, there's a nasty race condition here.
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 e198087b734..a536bb8d2f4 100644 --- a/sys/dev/rndioctl.h +++ b/sys/dev/rndioctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rndioctl.h,v 1.3 1997/06/14 21:37:08 mickey Exp $ */ +/* $OpenBSD: rndioctl.h,v 1.4 1997/06/21 04:59:37 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)) |