summaryrefslogtreecommitdiffstats
path: root/sys/net/if_spppsubr.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-08-25 13:23:09 +0000
committercharnier <charnier@FreeBSD.org>2002-08-25 13:23:09 +0000
commit7dd9d470599f145845572ac1f0d4b621c19c1cdb (patch)
tree9d932320e38df05718ee72d760a4d0d204431b9b /sys/net/if_spppsubr.c
parent4966efff7bc9071f04706819e62e1a291d22bcb2 (diff)
downloadFreeBSD-src-7dd9d470599f145845572ac1f0d4b621c19c1cdb.zip
FreeBSD-src-7dd9d470599f145845572ac1f0d4b621c19c1cdb.tar.gz
Replace various spelling with FALLTHROUGH which is lint()able
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r--sys/net/if_spppsubr.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index ec52eaa..5a9184b 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1165,7 +1165,7 @@ sppp_ioctl(struct ifnet *ifp, IOCTL_CMD_T cmd, void *data)
case SIOCSIFADDR:
/* set the interface "up" when assigning an IP address */
ifp->if_flags |= IFF_UP;
- /* fall through... */
+ /* FALLTHROUGH */
case SIOCSIFFLAGS:
going_up = ifp->if_flags & IFF_UP &&
@@ -1496,7 +1496,7 @@ sppp_cp_input(const struct cp *cp, struct sppp *sp, struct mbuf *m)
case STATE_OPENED:
(cp->tld)(sp);
(cp->scr)(sp);
- /* fall through... */
+ /* FALLTHROUGH */
case STATE_ACK_SENT:
case STATE_REQ_SENT:
/*
@@ -1560,7 +1560,7 @@ sppp_cp_input(const struct cp *cp, struct sppp *sp, struct mbuf *m)
break;
case STATE_OPENED:
(cp->tld)(sp);
- /* fall through */
+ /* FALLTHROUGH */
case STATE_ACK_RCVD:
(cp->scr)(sp);
sppp_cp_change_state(cp, sp, STATE_REQ_SENT);
@@ -1615,7 +1615,7 @@ sppp_cp_input(const struct cp *cp, struct sppp *sp, struct mbuf *m)
break;
case STATE_OPENED:
(cp->tld)(sp);
- /* fall through */
+ /* FALLTHROUGH */
case STATE_ACK_RCVD:
sppp_cp_change_state(cp, sp, STATE_REQ_SENT);
(cp->scr)(sp);
@@ -1637,7 +1637,7 @@ sppp_cp_input(const struct cp *cp, struct sppp *sp, struct mbuf *m)
case STATE_ACK_RCVD:
case STATE_ACK_SENT:
sppp_cp_change_state(cp, sp, STATE_REQ_SENT);
- /* fall through */
+ /* FALLTHROUGH */
case STATE_CLOSED:
case STATE_STOPPED:
case STATE_CLOSING:
@@ -2002,7 +2002,7 @@ sppp_close_event(const struct cp *cp, struct sppp *sp)
break;
case STATE_OPENED:
(cp->tld)(sp);
- /* fall through */
+ /* FALLTHROUGH */
case STATE_REQ_SENT:
case STATE_ACK_RCVD:
case STATE_ACK_SENT:
@@ -4158,7 +4158,7 @@ sppp_chap_TO(void *cookie)
case STATE_OPENED:
/* TO* event */
sp->rst_counter[IDX_CHAP] = sp->lcp.max_configure;
- /* fall through */
+ /* FALLTHROUGH */
case STATE_REQ_SENT:
chap.scr(sp);
/* sppp_cp_change_state() will restart the timer */
OpenPOWER on IntegriCloud