diff options
author | phk <phk@FreeBSD.org> | 2002-10-16 10:45:53 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-16 10:45:53 +0000 |
commit | 3020db6f585e28df15b7a83c8a9da078106b85a0 (patch) | |
tree | 5963661f57207b1015d00bb411c2d39e7141a4be /sys/net/ppp_deflate.c | |
parent | 3d99bae725ec8ae7e3319ac8ba53544e08716956 (diff) | |
download | FreeBSD-src-3020db6f585e28df15b7a83c8a9da078106b85a0.zip FreeBSD-src-3020db6f585e28df15b7a83c8a9da078106b85a0.tar.gz |
Be consistent about functions being static.
Spotted by: FlexeLint
Diffstat (limited to 'sys/net/ppp_deflate.c')
-rw-r--r-- | sys/net/ppp_deflate.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/ppp_deflate.c b/sys/net/ppp_deflate.c index 37533de..3c7884e 100644 --- a/sys/net/ppp_deflate.c +++ b/sys/net/ppp_deflate.c @@ -118,7 +118,7 @@ struct compressor ppp_deflate_draft = { /* * Space allocation and freeing routines for use by zlib routines. */ -void * +static void * z_alloc(notused, items, size) void *notused; u_int items, size; @@ -129,7 +129,7 @@ z_alloc(notused, items, size) return ptr; } -void +static void z_free(notused, ptr) void *notused; void *ptr; @@ -223,7 +223,7 @@ z_comp_reset(arg) deflateReset(&state->strm); } -int +static int z_compress(arg, mret, mp, orig_len, maxolen) void *arg; struct mbuf **mret; /* compressed packet (out) */ @@ -469,7 +469,7 @@ z_decomp_reset(arg) * 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 z_decompress(arg, mi, mop) void *arg; struct mbuf *mi, **mop; |