Module Name: src
Committed By: ozaki-r
Date: Thu May 9 04:53:52 UTC 2019
Modified Files:
src/sys/kern: kern_lock.c
Log Message:
Make _kernel_lock_dump static
To generate a diff of this commit:
cvs rdiff -u -r1.161 -r1.162 src/sys/kern/kern_lock.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_lock.c
diff -u src/sys/kern/kern_lock.c:1.161 src/sys/kern/kern_lock.c:1.162
--- src/sys/kern/kern_lock.c:1.161 Mon Dec 25 09:13:40 2017
+++ src/sys/kern/kern_lock.c Thu May 9 04:53:52 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_lock.c,v 1.161 2017/12/25 09:13:40 ozaki-r Exp $ */
+/* $NetBSD: kern_lock.c,v 1.162 2019/05/09 04:53:52 ozaki-r Exp $ */
/*-
* Copyright (c) 2002, 2006, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_lock.c,v 1.161 2017/12/25 09:13:40 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_lock.c,v 1.162 2019/05/09 04:53:52 ozaki-r Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -117,7 +117,7 @@ do { \
#define _KERNEL_LOCK_ASSERT(cond) /* nothing */
#endif
-void _kernel_lock_dump(const volatile void *);
+static void _kernel_lock_dump(const volatile void *);
lockops_t _kernel_lock_ops = {
.lo_name = "Kernel lock",
@@ -141,7 +141,7 @@ CTASSERT(CACHE_LINE_SIZE >= sizeof(__cpu
/*
* Print debugging information about the kernel lock.
*/
-void
+static void
_kernel_lock_dump(const volatile void *junk)
{
struct cpu_info *ci = curcpu();