Source-Changes-HG archive

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

[src/trunk]: src/sys/net Make if_slowtimo static



details:   https://anonhg.NetBSD.org/src/rev/03b5e6389cd0
branches:  trunk
changeset: 334006:03b5e6389cd0
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Wed Nov 26 07:06:03 2014 +0000

description:
Make if_slowtimo static

diffstat:

 sys/net/if.c |  7 ++++---
 sys/net/if.h |  3 +--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (52 lines):

diff -r d6677dd67f58 -r 03b5e6389cd0 sys/net/if.c
--- a/sys/net/if.c      Wed Nov 26 04:20:30 2014 +0000
+++ b/sys/net/if.c      Wed Nov 26 07:06:03 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.293 2014/11/17 13:58:53 pooka Exp $   */
+/*     $NetBSD: if.c,v 1.294 2014/11/26 07:06:03 ozaki-r Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.293 2014/11/17 13:58:53 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.294 2014/11/26 07:06:03 ozaki-r Exp $");
 
 #include "opt_inet.h"
 
@@ -194,6 +194,7 @@
 static void if_detach_queues(struct ifnet *, struct ifqueue *);
 static void sysctl_sndq_setup(struct sysctllog **, const char *,
     struct ifaltq *);
+static void if_slowtimo(void *);
 
 #if defined(INET) || defined(INET6)
 static void sysctl_net_pktq_setup(struct sysctllog **, int);
@@ -1497,7 +1498,7 @@
  * from softclock, we decrement timers (if set) and
  * call the appropriate interface routine on expiration.
  */
-void
+static void
 if_slowtimo(void *arg)
 {
        struct ifnet *ifp;
diff -r d6677dd67f58 -r 03b5e6389cd0 sys/net/if.h
--- a/sys/net/if.h      Wed Nov 26 04:20:30 2014 +0000
+++ b/sys/net/if.h      Wed Nov 26 07:06:03 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.h,v 1.175 2014/09/09 20:16:12 rmind Exp $   */
+/*     $NetBSD: if.h,v 1.176 2014/11/26 07:06:03 ozaki-r Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -867,7 +867,6 @@
 void   if_detach(struct ifnet *);
 void   if_down(struct ifnet *);
 void   if_link_state_change(struct ifnet *, int);
-void   if_slowtimo(void *);
 void   if_up(struct ifnet *);
 int    ifconf(u_long, void *);
 void   ifinit(void);



Home | Main Index | Thread Index | Old Index