Module Name:    src
Committed By:   riastradh
Date:           Thu Apr 30 04:26:29 UTC 2020

Modified Files:
        src/sys/dev: random.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/random.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/random.c
diff -u src/sys/dev/random.c:1.1 src/sys/dev/random.c:1.2
--- src/sys/dev/random.c:1.1	Thu Apr 30 03:28:18 2020
+++ src/sys/dev/random.c	Thu Apr 30 04:26:29 2020
@@ -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>

Reply via email to