X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/blobdiff_plain/f2de91c15599c67b5d943867805b3464ea58a197..158abb01b4d99207a276117949c1d7178bbe8045:/sys/net/bsd_comp.c diff --git a/sys/net/bsd_comp.c b/sys/net/bsd_comp.c index c021f3276d..5a79bf059e 100644 --- a/sys/net/bsd_comp.c +++ b/sys/net/bsd_comp.c @@ -41,7 +41,7 @@ * This version is for use with mbufs on BSD-derived systems. * * $FreeBSD: src/sys/net/bsd_comp.c,v 1.11.2.1 2002/04/14 21:41:48 luigi Exp $ - * $DragonFly: src/sys/net/bsd_comp.c,v 1.3 2003/08/07 21:54:30 dillon Exp $ + * $DragonFly: src/sys/net/bsd_comp.c,v 1.4 2003/08/26 20:49:47 rob Exp $ */ #include @@ -127,26 +127,26 @@ struct bsd_db { #define BSD_OVHD 2 /* BSD compress overhead/packet */ #define BSD_INIT_BITS BSD_MIN_BITS -static void bsd_clear __P((struct bsd_db *db)); -static int bsd_check __P((struct bsd_db *db)); -static void *bsd_alloc __P((u_char *options, int opt_len, int decomp)); -static int bsd_init __P((struct bsd_db *db, u_char *options, int opt_len, +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)); -static void *bsd_comp_alloc __P((u_char *options, int opt_len)); -static void *bsd_decomp_alloc __P((u_char *options, int opt_len)); -static void bsd_free __P((void *state)); -static int bsd_comp_init __P((void *state, u_char *options, int opt_len, - int unit, int hdrlen, int debug)); -static int bsd_decomp_init __P((void *state, u_char *options, int opt_len, - int unit, int hdrlen, int mru, int debug)); -static int bsd_compress __P((void *state, struct mbuf **mret, - struct mbuf *mp, int slen, int maxolen)); -static void bsd_incomp __P((void *state, struct mbuf *dmsg)); -static int bsd_decompress __P((void *state, struct mbuf *cmp, - struct mbuf **dmpp)); -static void bsd_reset __P((void *state)); -static void bsd_comp_stats __P((void *state, struct compstat *stats)); + 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); +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); +static void bsd_incomp (void *state, struct mbuf *dmsg); +static int bsd_decompress (void *state, struct mbuf *cmp, + struct mbuf **dmpp); +static void bsd_reset (void *state); +static void bsd_comp_stats (void *state, struct compstat *stats); /* * Procedures exported to if_ppp.c.