Module Name: src Committed By: riastradh Date: Thu Apr 30 20:06:40 UTC 2020
Modified Files: src/sys/kern: kern_entropy.c Log Message: Mark rnd_sources_locked __diagused -- only for KASSERTs. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/kern/kern_entropy.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/kern/kern_entropy.c diff -u src/sys/kern/kern_entropy.c:1.6 src/sys/kern/kern_entropy.c:1.7 --- src/sys/kern/kern_entropy.c:1.6 Thu Apr 30 19:34:37 2020 +++ src/sys/kern/kern_entropy.c Thu Apr 30 20:06:40 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_entropy.c,v 1.6 2020/04/30 19:34:37 riastradh Exp $ */ +/* $NetBSD: kern_entropy.c,v 1.7 2020/04/30 20:06:40 riastradh Exp $ */ /*- * Copyright (c) 2019 The NetBSD Foundation, Inc. @@ -77,7 +77,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: kern_entropy.c,v 1.6 2020/04/30 19:34:37 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_entropy.c,v 1.7 2020/04/30 20:06:40 riastradh Exp $"); #include <sys/param.h> #include <sys/types.h> @@ -1596,7 +1596,7 @@ rnd_unlock_sources(void) * True if we hold the list of rndsources locked, for diagnostic * assertions. */ -static bool +static bool __diagused rnd_sources_locked(void) {