summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorCamiel Dobbelaar <camield@cvs.openbsd.org>2003-01-20 19:05:47 +0000
committerCamiel Dobbelaar <camield@cvs.openbsd.org>2003-01-20 19:05:47 +0000
commit6c516cec1212d0283ba62fc00266fded5adf7b77 (patch)
treee130ec130009e469f39f7237f514664df151e549 /sbin/pfctl
parent6ac77690f88965d1ae00c377b912f8d31214f1c7 (diff)
no named parameters in prototypes
ok dhartmei cedric henning
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/pfctl.h6
-rw-r--r--sbin/pfctl/pfctl_altq.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/sbin/pfctl/pfctl.h b/sbin/pfctl/pfctl.h
index 86a1e5ff855..c5a71051c9a 100644
--- a/sbin/pfctl/pfctl.h
+++ b/sbin/pfctl/pfctl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.h,v 1.6 2003/01/20 17:16:56 cedric Exp $ */
+/* $OpenBSD: pfctl.h,v 1.7 2003/01/20 19:05:46 camield Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -35,7 +35,7 @@
void pfr_set_fd(int);
int pfr_get_fd(void);
-int pfr_clr_tables(int *ndel, int);
+int pfr_clr_tables(int *, int);
int pfr_add_tables(struct pfr_table *, int, int *, int);
int pfr_del_tables(struct pfr_table *, int, int *, int);
int pfr_get_tables(struct pfr_table *, int *, int);
@@ -90,7 +90,7 @@ void print_queue(const struct pf_altq *, unsigned);
void print_addr(struct pf_addr_wrap *, sa_family_t, int);
void print_host(struct pf_state_host *, sa_family_t, int);
void print_seq(struct pf_state_peer *);
-void print_state(struct pf_state *s, int);
+void print_state(struct pf_state *, int);
int unmask(struct pf_addr *, sa_family_t);
#endif /* _PFCTL_H_ */
diff --git a/sbin/pfctl/pfctl_altq.c b/sbin/pfctl/pfctl_altq.c
index 24341ea7af8..dc33f3e2704 100644
--- a/sbin/pfctl/pfctl_altq.c
+++ b/sbin/pfctl/pfctl_altq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_altq.c,v 1.32 2003/01/09 18:55:32 dhartmei Exp $ */
+/* $OpenBSD: pfctl_altq.c,v 1.33 2003/01/20 19:05:46 camield Exp $ */
/*
* Copyright (C) 2002
@@ -56,16 +56,16 @@
TAILQ_HEAD(altqs, pf_altq) altqs = TAILQ_HEAD_INITIALIZER(altqs);
LIST_HEAD(gen_sc, segment) rtsc, lssc;
-static int eval_pfqueue_cbq(struct pfctl *pf, struct pf_altq *);
+static int eval_pfqueue_cbq(struct pfctl *, struct pf_altq *);
static int cbq_compute_idletime(struct pfctl *, struct pf_altq *);
static int check_commit_cbq(int, int, struct pf_altq *);
static void print_cbq_opts(const struct pf_altq *);
-static int eval_pfqueue_priq(struct pfctl *pf, struct pf_altq *);
+static int eval_pfqueue_priq(struct pfctl *, struct pf_altq *);
static int check_commit_priq(int, int, struct pf_altq *);
static void print_priq_opts(const struct pf_altq *);
-static int eval_pfqueue_hfsc(struct pfctl *pf, struct pf_altq *);
+static int eval_pfqueue_hfsc(struct pfctl *, struct pf_altq *);
static int check_commit_hfsc(int, int, struct pf_altq *);
static void print_hfsc_opts(const struct pf_altq *);