summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/deflate.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2004-09-05 01:46:52 +0000
committerbrian <brian@FreeBSD.org>2004-09-05 01:46:52 +0000
commit6f864d0a973a7f3987d73132be311b7cfbd1ccfc (patch)
treefb5af1860e245ef67196527d9ba46e5c9e284bf6 /usr.sbin/ppp/deflate.c
parent2f8e87b45e5735ee9774fce8bc8ffaf1fdc72657 (diff)
downloadFreeBSD-src-6f864d0a973a7f3987d73132be311b7cfbd1ccfc.zip
FreeBSD-src-6f864d0a973a7f3987d73132be311b7cfbd1ccfc.tar.gz
Make ppp WARNS=5 clean
Diffstat (limited to 'usr.sbin/ppp/deflate.c')
-rw-r--r--usr.sbin/ppp/deflate.c16
1 files changed, 8 insertions, 8 deletions
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;
OpenPOWER on IntegriCloud