summaryrefslogtreecommitdiffstats
path: root/sys/net/ppp_deflate.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-03-24 09:34:04 +0000
committerbde <bde@FreeBSD.org>2002-03-24 09:34:04 +0000
commit3a6e21a3250a1856706318c7ef6ebb85df2332ac (patch)
tree018122a1fc824c0a2641362615bea135f49f0f19 /sys/net/ppp_deflate.c
parent5939a9b39981e7bbc701c3dc3239657e6fbb332e (diff)
downloadFreeBSD-src-3a6e21a3250a1856706318c7ef6ebb85df2332ac.zip
FreeBSD-src-3a6e21a3250a1856706318c7ef6ebb85df2332ac.tar.gz
Fixed some style bugs in the removal of __P(()). The main ones were
not removing tabs before "__P((", and not outdenting continuation lines to preserve non-KNF lining up of code with parentheses. Switch to KNF formatting and/or rewrap the whole prototype in some cases.
Diffstat (limited to 'sys/net/ppp_deflate.c')
-rw-r--r--sys/net/ppp_deflate.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/net/ppp_deflate.c b/sys/net/ppp_deflate.c
index 6658c40..e4ab2a6 100644
--- a/sys/net/ppp_deflate.c
+++ b/sys/net/ppp_deflate.c
@@ -67,14 +67,13 @@ static void *z_decomp_alloc(u_char *options, int opt_len);
static void z_comp_free(void *state);
static void z_decomp_free(void *state);
static int z_comp_init(void *state, u_char *options, int opt_len,
- int unit, int hdrlen, int debug);
+ int unit, int hdrlen, int debug);
static int z_decomp_init(void *state, u_char *options, int opt_len,
- int unit, int hdrlen, int mru, int debug);
-static int z_compress(void *state, struct mbuf **mret,
- struct mbuf *mp, int slen, int maxolen);
+ int unit, int hdrlen, int mru, int debug);
+static int z_compress(void *state, struct mbuf **mret, struct mbuf *mp,
+ int slen, int maxolen);
static void z_incomp(void *state, struct mbuf *dmsg);
-static int z_decompress(void *state, struct mbuf *cmp,
- struct mbuf **dmpp);
+static int z_decompress(void *state, struct mbuf *cmp, struct mbuf **dmpp);
static void z_comp_reset(void *state);
static void z_decomp_reset(void *state);
static void z_comp_stats(void *state, struct compstat *stats);
OpenPOWER on IntegriCloud