Module Name: src
Committed By: ozaki-r
Date: Wed Nov 26 07:06:03 UTC 2014
Modified Files:
src/sys/net: if.c if.h
Log Message:
Make if_slowtimo static
To generate a diff of this commit:
cvs rdiff -u -r1.293 -r1.294 src/sys/net/if.c
cvs rdiff -u -r1.175 -r1.176 src/sys/net/if.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/if.c
diff -u src/sys/net/if.c:1.293 src/sys/net/if.c:1.294
--- src/sys/net/if.c:1.293 Mon Nov 17 13:58:53 2014
+++ src/sys/net/if.c Wed Nov 26 07:06:03 2014
@@ -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 ifnet_lock_exit(struct ifnet
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 @@ if_up(struct ifnet *ifp)
* 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;
Index: src/sys/net/if.h
diff -u src/sys/net/if.h:1.175 src/sys/net/if.h:1.176
--- src/sys/net/if.h:1.175 Tue Sep 9 20:16:12 2014
+++ src/sys/net/if.h Wed Nov 26 07:06:03 2014
@@ -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_purgeaddrs(struct ifnet *, int,
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);