Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Make _kernel_lock_dump static



details:   https://anonhg.NetBSD.org/src/rev/12ba6de077d8
branches:  trunk
changeset: 841330:12ba6de077d8
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Thu May 09 04:53:52 2019 +0000

description:
Make _kernel_lock_dump static

diffstat:

 sys/kern/kern_lock.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r d5d4c1123da8 -r 12ba6de077d8 sys/kern/kern_lock.c
--- a/sys/kern/kern_lock.c      Thu May 09 04:52:59 2019 +0000
+++ b/sys/kern/kern_lock.c      Thu May 09 04:53:52 2019 +0000
@@ -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 @@
 #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 @@
 /*
  * Print debugging information about the kernel lock.
  */
-void
+static void
 _kernel_lock_dump(const volatile void *junk)
 {
        struct cpu_info *ci = curcpu();



Home | Main Index | Thread Index | Old Index