From f52745dfdea1f021c672870c78b14638502b9111 Mon Sep 17 00:00:00 2001 From: Jun-ichiro itojun Hagino Date: Fri, 7 Jun 2002 04:13:11 +0000 Subject: 'fall through' is not a valid LINT keyword. --- sys/netinet6/in6.c | 8 ++++---- sys/netinet6/ip6_forward.c | 4 ++-- sys/netinet6/ip6_mroute.c | 4 ++-- sys/netinet6/ip6_output.c | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) (limited to 'sys') diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c index d79c4bcfec8..01720f41cb2 100644 --- a/sys/netinet6/in6.c +++ b/sys/netinet6/in6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6.c,v 1.36 2002/06/07 04:11:51 itojun Exp $ */ +/* $OpenBSD: in6.c,v 1.37 2002/06/07 04:13:10 itojun Exp $ */ /* $KAME: in6.c,v 1.198 2001/07/18 09:12:38 itojun Exp $ */ /* @@ -336,7 +336,7 @@ in6_control(so, cmd, data, ifp, p) case SIOCSIFINFO_FLAGS: if (!privileged) return(EPERM); - /*fall through*/ + /*FALLTHROUGH*/ case OSIOCGIFINFO_IN6: case SIOCGIFINFO_IN6: case SIOCGDRLST_IN6: @@ -364,7 +364,7 @@ in6_control(so, cmd, data, ifp, p) case SIOCDLIFADDR: if (!privileged) return(EPERM); - /*fall through*/ + /*FALLTHROUGH*/ case SIOCGLIFADDR: return in6_lifaddr_ioctl(so, cmd, data, ifp, p); } @@ -510,7 +510,7 @@ in6_control(so, cmd, data, ifp, p) case SIOCGIFADDR_IN6: /* This interface is basically deprecated. use SIOCGIFCONF. */ - /* fall through */ + /* FALLTHROUGH */ case SIOCGIFAFLAG_IN6: case SIOCGIFNETMASK_IN6: case SIOCGIFDSTADDR_IN6: diff --git a/sys/netinet6/ip6_forward.c b/sys/netinet6/ip6_forward.c index caa6da835d1..05195b20eed 100644 --- a/sys/netinet6/ip6_forward.c +++ b/sys/netinet6/ip6_forward.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_forward.c,v 1.21 2002/05/29 07:54:59 itojun Exp $ */ +/* $OpenBSD: ip6_forward.c,v 1.22 2002/06/07 04:13:10 itojun Exp $ */ /* $KAME: ip6_forward.c,v 1.75 2001/06/29 12:42:13 jinmei Exp $ */ /* @@ -263,7 +263,7 @@ ip6_forward(m, srcrt) break; default: printf("ip6_output (ipsec): error code %d\n", error); - /* fall through */ + /* FALLTHROUGH */ case ENOENT: /* don't show these error codes to the user */ break; diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c index 4bd6d350d21..56c5042981d 100644 --- a/sys/netinet6/ip6_mroute.c +++ b/sys/netinet6/ip6_mroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_mroute.c,v 1.22 2002/05/30 04:40:02 itojun Exp $ */ +/* $OpenBSD: ip6_mroute.c,v 1.23 2002/06/07 04:13:10 itojun Exp $ */ /* $KAME: ip6_mroute.c,v 1.45 2001/03/25 08:38:51 itojun Exp $ */ /* @@ -188,7 +188,7 @@ static int pim6; switch (xxs) { \ case 2: \ delta += 1000000; \ - /* fall through */ \ + /* FALLTHROUGH */ \ case 1: \ delta += 1000000; \ break; \ diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index 2a7c6dd02c1..266098845c1 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_output.c,v 1.61 2002/05/31 03:20:01 itojun Exp $ */ +/* $OpenBSD: ip6_output.c,v 1.62 2002/06/07 04:13:10 itojun Exp $ */ /* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */ /* @@ -964,7 +964,7 @@ freehdrs: m_freem(exthdrs.ip6e_dest1); m_freem(exthdrs.ip6e_rthdr); m_freem(exthdrs.ip6e_dest2); - /* fall through */ + /* FALLTHROUGH */ bad: m_freem(m); goto done; @@ -1247,7 +1247,7 @@ ip6_ctloutput(op, so, level, optname, mp) error = EPERM; break; } - /* fall through */ + /* FALLTHROUGH */ case IPV6_UNICAST_HOPS: case IPV6_RECVOPTS: case IPV6_RECVRETOPTS: @@ -1484,7 +1484,7 @@ ip6_ctloutput(op, so, level, optname, mp) error = EPERM; break; } - /* fall through */ + /* FALLTHROUGH */ case IPV6_UNICAST_HOPS: case IPV6_RECVOPTS: case IPV6_RECVRETOPTS: -- cgit v1.2.3