Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern more __diagused to appease clang
details: https://anonhg.NetBSD.org/src/rev/c4c3fd84903a
branches: trunk
changeset: 361155:c4c3fd84903a
user: macallan <macallan%NetBSD.org@localhost>
date: Sat Feb 12 16:31:06 2022 +0000
description:
more __diagused to appease clang
diffstat:
sys/kern/subr_psref.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7af9de4c64e7 -r c4c3fd84903a sys/kern/subr_psref.c
--- a/sys/kern/subr_psref.c Sat Feb 12 16:21:27 2022 +0000
+++ b/sys/kern/subr_psref.c Sat Feb 12 16:31:06 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_psref.c,v 1.17 2022/02/08 12:59:16 riastradh Exp $ */
+/* $NetBSD: subr_psref.c,v 1.18 2022/02/12 16:31:06 macallan Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_psref.c,v 1.17 2022/02/08 12:59:16 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_psref.c,v 1.18 2022/02/12 16:31:06 macallan Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -180,7 +180,7 @@
*retp = false;
}
-static bool
+static bool __diagused
psref_class_drained_p(const struct psref_class *prc)
{
bool ret = true;
Home |
Main Index |
Thread Index |
Old Index