From cbc00d76a3b7630c5875d7e1bfd56952647c30a5 Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Sat, 5 Apr 2008 06:28:35 +0000 Subject: [PATCH] tunoutput() is declared as static function and is used in this way too. --- sys/net/tun/if_tun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/tun/if_tun.c b/sys/net/tun/if_tun.c index 375a34bdf..e2f67feb2 100644 --- a/sys/net/tun/if_tun.c +++ b/sys/net/tun/if_tun.c @@ -14,7 +14,7 @@ * operation though. * * $FreeBSD: src/sys/net/if_tun.c,v 1.74.2.8 2002/02/13 00:43:11 dillon Exp $ - * $DragonFly: src/sys/net/tun/if_tun.c,v 1.34 2008/03/07 11:34:20 sephe Exp $ + * $DragonFly: src/sys/net/tun/if_tun.c,v 1.35 2008/04/05 06:28:35 sephe Exp $ */ #include "opt_atalk.h" @@ -272,7 +272,7 @@ tunifioctl(struct ifnet *ifp, u_long cmd, caddr_t data, struct ucred *cr) * * MPSAFE */ -int +static int tunoutput(struct ifnet *ifp, struct mbuf *m0, struct sockaddr *dst, struct rtentry *rt) { -- 2.11.4.GIT