summaryrefslogtreecommitdiff
path: root/sys/dev/rndioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/rndioctl.h')
-rw-r--r--sys/dev/rndioctl.h6
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))