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/a9104b70c4ad
branches:  trunk
changeset: 451183:a9104b70c4ad
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 8f307854cc66 -r a9104b70c4ad 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