diff options
author | bde <bde@FreeBSD.org> | 2002-03-24 09:34:04 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-03-24 09:34:04 +0000 |
commit | 3a6e21a3250a1856706318c7ef6ebb85df2332ac (patch) | |
tree | 018122a1fc824c0a2641362615bea135f49f0f19 /sys/net/bsd_comp.c | |
parent | 5939a9b39981e7bbc701c3dc3239657e6fbb332e (diff) | |
download | FreeBSD-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/bsd_comp.c')
-rw-r--r-- | sys/net/bsd_comp.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/net/bsd_comp.c b/sys/net/bsd_comp.c index d7d42d1..0e85902 100644 --- a/sys/net/bsd_comp.c +++ b/sys/net/bsd_comp.c @@ -132,20 +132,19 @@ static void bsd_clear(struct bsd_db *db); static int bsd_check(struct bsd_db *db); static void *bsd_alloc(u_char *options, int opt_len, int decomp); static int bsd_init(struct bsd_db *db, u_char *options, int opt_len, - int unit, int hdrlen, int mru, int debug, - int decomp); + int unit, int hdrlen, int mru, int debug, int decomp); static void *bsd_comp_alloc(u_char *options, int opt_len); static void *bsd_decomp_alloc(u_char *options, int opt_len); static void bsd_free(void *state); static int bsd_comp_init(void *state, u_char *options, int opt_len, - int unit, int hdrlen, int debug); + int unit, int hdrlen, int debug); static int bsd_decomp_init(void *state, u_char *options, int opt_len, - int unit, int hdrlen, int mru, int debug); -static int bsd_compress(void *state, struct mbuf **mret, - struct mbuf *mp, int slen, int maxolen); + int unit, int hdrlen, int mru, int debug); +static int bsd_compress(void *state, struct mbuf **mret, struct mbuf *mp, + int slen, int maxolen); static void bsd_incomp(void *state, struct mbuf *dmsg); static int bsd_decompress(void *state, struct mbuf *cmp, - struct mbuf **dmpp); + struct mbuf **dmpp); static void bsd_reset(void *state); static void bsd_comp_stats(void *state, struct compstat *stats); |