Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/common Make clog static. Found by lgtm bot.



details:   https://anonhg.NetBSD.org/src/rev/2d894c0b9109
branches:  trunk
changeset: 845489:2d894c0b9109
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Oct 04 05:48:11 2019 +0000

description:
Make clog static. Found by lgtm bot.

diffstat:

 sys/compat/common/rtsock_50.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0df2325da062 -r 2d894c0b9109 sys/compat/common/rtsock_50.c
--- a/sys/compat/common/rtsock_50.c     Fri Oct 04 01:57:53 2019 +0000
+++ b/sys/compat/common/rtsock_50.c     Fri Oct 04 05:48:11 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtsock_50.c,v 1.13 2019/04/29 16:12:30 roy Exp $       */
+/*     $NetBSD: rtsock_50.c,v 1.14 2019/10/04 05:48:11 msaitoh Exp $   */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtsock_50.c,v 1.13 2019/04/29 16:12:30 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtsock_50.c,v 1.14 2019/10/04 05:48:11 msaitoh Exp $");
 
 #define        COMPAT_RTSOCK   /* Use the COMPATNAME/COMPATCALL macros and the
                         * various other compat definitions - see
@@ -71,7 +71,7 @@
 #include <net/rtsock_shared.c>
 #include <compat/net/route_50.h>
 
-struct sysctllog *clog;
+static struct sysctllog *clog;
 
 void
 compat_50_rt_oifmsg(struct ifnet *ifp)



Home | Main Index | Thread Index | Old Index