summaryrefslogtreecommitdiff
path: root/sys/dev/rndvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/rndvar.h')
-rw-r--r--sys/dev/rndvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/rndvar.h b/sys/dev/rndvar.h
index d5071ab829f..77c2b03b496 100644
--- a/sys/dev/rndvar.h
+++ b/sys/dev/rndvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rndvar.h,v 1.14 2000/04/13 13:48:30 mickey Exp $ */
+/* $OpenBSD: rndvar.h,v 1.15 2001/09/22 19:41:13 mickey Exp $ */
/*
* Copyright (c) 1996,2000 Michael Shalayeff.
@@ -53,6 +53,7 @@
#define RND_SRC_DISK 4
#define RND_SRC_NET 5
#define RND_SRC_AUDIO 6
+#define RND_SRC_VIDEO 7
#define RND_SRC_NUM 8
struct rndstats {
@@ -86,6 +87,7 @@ extern struct rndstats rndstats;
#define add_disk_randomness(d) enqueue_randomness(RND_SRC_DISK, (int)(d))
#define add_net_randomness(d) enqueue_randomness(RND_SRC_NET, (int)(d))
#define add_audio_randomness(d) enqueue_randomness(RND_SRC_AUDIO, (int)(d))
+#define add_video_randomness(d) enqueue_randomness(RND_SRC_VIDEO, (int)(d))
void enqueue_randomness __P((int, int));
void get_random_bytes __P((void *, size_t));