summaryrefslogtreecommitdiffstats
path: root/sys/net/ppp_comp.h
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_comp.h
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_comp.h')
-rw-r--r--sys/net/ppp_comp.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/net/ppp_comp.h b/sys/net/ppp_comp.h
index ac9171f..d75e6a7 100644
--- a/sys/net/ppp_comp.h
+++ b/sys/net/ppp_comp.h
@@ -43,12 +43,12 @@ struct compressor {
void (*comp_free)(void *state);
/* Initialize a compressor */
int (*comp_init)(void *state, u_char *options, int opt_len,
- int unit, int hdrlen, int debug);
+ int unit, int hdrlen, int debug);
/* Reset a compressor */
void (*comp_reset)(void *state);
/* Compress a packet */
- int (*compress)(void *state, PACKETPTR *mret,
- PACKETPTR mp, int orig_len, int max_len);
+ int (*compress)(void *state, PACKETPTR *mret, PACKETPTR mp,
+ int orig_len, int max_len);
/* Return compression statistics */
void (*comp_stat)(void *state, struct compstat *stats);
@@ -58,12 +58,11 @@ struct compressor {
void (*decomp_free)(void *state);
/* Initialize a decompressor */
int (*decomp_init)(void *state, u_char *options, int opt_len,
- int unit, int hdrlen, int mru, int debug);
+ int unit, int hdrlen, int mru, int debug);
/* Reset a decompressor */
void (*decomp_reset)(void *state);
/* Decompress a packet. */
- int (*decompress)(void *state, PACKETPTR mp,
- PACKETPTR *dmpp);
+ int (*decompress)(void *state, PACKETPTR mp, PACKETPTR *dmpp);
/* Update state for an incompressible packet received */
void (*incomp)(void *state, PACKETPTR mp);
/* Return decompression statistics */
OpenPOWER on IntegriCloud