summaryrefslogtreecommitdiffstats
path: root/sys/net/if_spppsubr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-16 10:45:53 +0000
committerphk <phk@FreeBSD.org>2002-10-16 10:45:53 +0000
commit3020db6f585e28df15b7a83c8a9da078106b85a0 (patch)
tree5963661f57207b1015d00bb411c2d39e7141a4be /sys/net/if_spppsubr.c
parent3d99bae725ec8ae7e3319ac8ba53544e08716956 (diff)
downloadFreeBSD-src-3020db6f585e28df15b7a83c8a9da078106b85a0.zip
FreeBSD-src-3020db6f585e28df15b7a83c8a9da078106b85a0.tar.gz
Be consistent about functions being static.
Spotted by: FlexeLint
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r--sys/net/if_spppsubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 3709f71..61dbb6f 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -2075,7 +2075,7 @@ sppp_to_event(const struct cp *cp, struct sppp *sp)
* Change the state of a control protocol in the state automaton.
* Takes care of starting/stopping the restart timer.
*/
-void
+static void
sppp_cp_change_state(const struct cp *cp, struct sppp *sp, int newstate)
{
sp->state[cp->protoidx] = newstate;
@@ -3876,7 +3876,7 @@ static void sppp_ipv6cp_scr(struct sppp *sp)
/*
* Handle incoming CHAP packets.
*/
-void
+static void
sppp_chap_input(struct sppp *sp, struct mbuf *m)
{
STDDCL;
OpenPOWER on IntegriCloud