summaryrefslogtreecommitdiffstats
path: root/sys/net/bsd_comp.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/bsd_comp.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/bsd_comp.c')
-rw-r--r--sys/net/bsd_comp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bsd_comp.c b/sys/net/bsd_comp.c
index 910e27a..dd6ab56 100644
--- a/sys/net/bsd_comp.c
+++ b/sys/net/bsd_comp.c
@@ -468,7 +468,7 @@ bsd_decomp_init(state, options, opt_len, unit, hdrlen, mru, debug)
* One change from the BSD compress command is that when the
* code size expands, we do not output a bunch of padding.
*/
-int /* new slen */
+static int /* new slen */
bsd_compress(state, mret, mp, slen, maxolen)
void *state;
struct mbuf **mret; /* return compressed mbuf chain here */
@@ -815,7 +815,7 @@ bsd_incomp(state, dmsg)
* bug, so we return DECOMP_FATALERROR for them in order to turn off
* compression, even though they are detected by inspecting the input.
*/
-int
+static int
bsd_decompress(state, cmp, dmpp)
void *state;
struct mbuf *cmp, **dmpp;
OpenPOWER on IntegriCloud