Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev Missed a spot -- need <sys/atomic.h> to use atomic_*.



details:   https://anonhg.NetBSD.org/src/rev/acd1c54f6752
branches:  trunk
changeset: 931756:acd1c54f6752
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Apr 30 04:26:29 2020 +0000

description:
Missed a spot -- need <sys/atomic.h> to use atomic_*.

diffstat:

 sys/dev/random.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r f0de42ae79de -r acd1c54f6752 sys/dev/random.c
--- a/sys/dev/random.c  Thu Apr 30 04:18:07 2020 +0000
+++ b/sys/dev/random.c  Thu Apr 30 04:26:29 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: random.c,v 1.1 2020/04/30 03:28:18 riastradh Exp $     */
+/*     $NetBSD: random.c,v 1.2 2020/04/30 04:26:29 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -47,10 +47,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: random.c,v 1.1 2020/04/30 03:28:18 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: random.c,v 1.2 2020/04/30 04:26:29 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
+#include <sys/atomic.h>
 #include <sys/conf.h>
 #include <sys/cprng.h>
 #include <sys/entropy.h>



Home | Main Index | Thread Index | Old Index