summaryrefslogtreecommitdiff
path: root/sys/net/bsd-comp.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
commit8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch)
treeac9a52bace179e17769651fb9f805070d78abe5f /sys/net/bsd-comp.c
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/net/bsd-comp.c')
-rw-r--r--sys/net/bsd-comp.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/sys/net/bsd-comp.c b/sys/net/bsd-comp.c
index 28cf3f4ea1a..59770e9a215 100644
--- a/sys/net/bsd-comp.c
+++ b/sys/net/bsd-comp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bsd-comp.c,v 1.4 1997/09/05 04:26:57 millert Exp $ */
+/* $OpenBSD: bsd-comp.c,v 1.5 2002/03/14 01:27:09 millert Exp $ */
/* $NetBSD: bsd-comp.c,v 1.6 1996/10/13 02:10:58 christos Exp $ */
/* Because this code is derived from the 4.3BSD compress source:
@@ -131,20 +131,20 @@ struct bsd_db {
#define BSD_OVHD 2 /* BSD compress overhead/packet */
#define BSD_INIT_BITS BSD_MIN_BITS
-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));
+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.
@@ -188,11 +188,11 @@ struct compressor ppp_bsd_compress = {
#define RATIO_SCALE (1<<RATIO_SCALE_LOG)
#define RATIO_MAX (0x7fffffff>>RATIO_SCALE_LOG)
-static void bsd_clear __P((struct bsd_db *));
-static int bsd_check __P((struct bsd_db *));
-static void *bsd_alloc __P((u_char *, int, int));
-static int bsd_init __P((struct bsd_db *, u_char *, int, int, int, int,
- int, int));
+static void bsd_clear(struct bsd_db *);
+static int bsd_check(struct bsd_db *);
+static void *bsd_alloc(u_char *, int, int);
+static int bsd_init(struct bsd_db *, u_char *, int, int, int, int,
+ int, int);
/*
* clear the dictionary