From 6f864d0a973a7f3987d73132be311b7cfbd1ccfc Mon Sep 17 00:00:00 2001 From: brian Date: Sun, 5 Sep 2004 01:46:52 +0000 Subject: Make ppp WARNS=5 clean --- usr.sbin/ppp/deflate.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'usr.sbin/ppp/deflate.c') diff --git a/usr.sbin/ppp/deflate.c b/usr.sbin/ppp/deflate.c index 3e6198d..57c9004 100644 --- a/usr.sbin/ppp/deflate.c +++ b/usr.sbin/ppp/deflate.c @@ -66,8 +66,8 @@ DeflateResetOutput(void *v) } static struct mbuf * -DeflateOutput(void *v, struct ccp *ccp, struct link *l, int pri, u_short *proto, - struct mbuf *mp) +DeflateOutput(void *v, struct ccp *ccp, struct link *l __unused, + int pri __unused, u_short *proto, struct mbuf *mp) { struct deflate_state *state = (struct deflate_state *)v; u_char *wp, *rp; @@ -440,7 +440,7 @@ DeflateDispOpts(struct fsm_opt *o) } static void -DeflateInitOptsOutput(struct bundle *bundle, struct fsm_opt *o, +DeflateInitOptsOutput(struct bundle *bundle __unused, struct fsm_opt *o, const struct ccp_config *cfg) { o->hdr.len = 4; @@ -449,8 +449,8 @@ DeflateInitOptsOutput(struct bundle *bundle, struct fsm_opt *o, } static int -DeflateSetOptsOutput(struct bundle *bundle, struct fsm_opt *o, - const struct ccp_config *cfg) +DeflateSetOptsOutput(struct bundle *bundle __unused, struct fsm_opt *o, + const struct ccp_config *cfg __unused) { if (o->hdr.len != 4 || (o->data[0] & 15) != 8 || o->data[1] != '\0') return MODE_REJ; @@ -464,7 +464,7 @@ DeflateSetOptsOutput(struct bundle *bundle, struct fsm_opt *o, } static int -DeflateSetOptsInput(struct bundle *bundle, struct fsm_opt *o, +DeflateSetOptsInput(struct bundle *bundle __unused, struct fsm_opt *o, const struct ccp_config *cfg) { int want; @@ -486,7 +486,7 @@ DeflateSetOptsInput(struct bundle *bundle, struct fsm_opt *o, } static void * -DeflateInitInput(struct bundle *bundle, struct fsm_opt *o) +DeflateInitInput(struct bundle *bundle __unused, struct fsm_opt *o) { struct deflate_state *state; @@ -509,7 +509,7 @@ DeflateInitInput(struct bundle *bundle, struct fsm_opt *o) } static void * -DeflateInitOutput(struct bundle *bundle, struct fsm_opt *o) +DeflateInitOutput(struct bundle *bundle __unused, struct fsm_opt *o) { struct deflate_state *state; -- cgit v1.1