Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Mark rnd_sources_locked __diagused -- only for KASS...
details: https://anonhg.NetBSD.org/src/rev/058a9a2f625d
branches: trunk
changeset: 971662:058a9a2f625d
user: riastradh <riastradh%NetBSD.org@localhost>
date: Thu Apr 30 20:06:40 2020 +0000
description:
Mark rnd_sources_locked __diagused -- only for KASSERTs.
diffstat:
sys/kern/kern_entropy.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e262c73978a2 -r 058a9a2f625d sys/kern/kern_entropy.c
--- a/sys/kern/kern_entropy.c Thu Apr 30 19:34:37 2020 +0000
+++ b/sys/kern/kern_entropy.c Thu Apr 30 20:06:40 2020 +0000
@@ -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 @@
* True if we hold the list of rndsources locked, for diagnostic
* assertions.
*/
-static bool
+static bool __diagused
rnd_sources_locked(void)
{
Home |
Main Index |
Thread Index |
Old Index