Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Mark skewsrcp as __diagused to unbreak non-DIAGNOST...
details: https://anonhg.NetBSD.org/src/rev/bfe8c2173273
branches: trunk
changeset: 343863:bfe8c2173273
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Feb 29 01:57:30 2016 +0000
description:
Mark skewsrcp as __diagused to unbreak non-DIAGNOSTIC builds.
diffstat:
sys/kern/kern_rndq.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6acab716068c -r bfe8c2173273 sys/kern/kern_rndq.c
--- a/sys/kern/kern_rndq.c Mon Feb 29 01:29:15 2016 +0000
+++ b/sys/kern/kern_rndq.c Mon Feb 29 01:57:30 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_rndq.c,v 1.87 2016/02/28 20:37:16 riastradh Exp $ */
+/* $NetBSD: kern_rndq.c,v 1.88 2016/02/29 01:57:30 riastradh Exp $ */
/*-
* Copyright (c) 1997-2013 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_rndq.c,v 1.87 2016/02/28 20:37:16 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_rndq.c,v 1.88 2016/02/29 01:57:30 riastradh Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -463,7 +463,7 @@
static void
rnd_skew_get(size_t bytes, void *priv)
{
- krndsource_t *skewsrcp = priv;
+ krndsource_t *skewsrcp __diagused = priv;
KASSERT(skewsrcp == &rnd_skew.source);
Home |
Main Index |
Thread Index |
Old Index