summaryrefslogtreecommitdiffstats
path: root/sys/net/pfil.h
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-19 21:54:18 +0000
committeralfred <alfred@FreeBSD.org>2002-03-19 21:54:18 +0000
commitc9985516e46bc6cccc11eac067da81d7968b7700 (patch)
tree1dac628690deaa2d6ec636edfafaaa40b6cc7fd5 /sys/net/pfil.h
parentd0017d9252543e0da162688302446230e54dd45e (diff)
downloadFreeBSD-src-c9985516e46bc6cccc11eac067da81d7968b7700.zip
FreeBSD-src-c9985516e46bc6cccc11eac067da81d7968b7700.tar.gz
Remove __P.
Diffstat (limited to 'sys/net/pfil.h')
-rw-r--r--sys/net/pfil.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/net/pfil.h b/sys/net/pfil.h
index e2f31d4..4df1b6f 100644
--- a/sys/net/pfil.h
+++ b/sys/net/pfil.h
@@ -42,8 +42,8 @@ struct ifnet;
*/
struct packet_filter_hook {
TAILQ_ENTRY(packet_filter_hook) pfil_link;
- int (*pfil_func) __P((void *, int, struct ifnet *, int,
- struct mbuf **));
+ int (*pfil_func)(void *, int, struct ifnet *, int,
+ struct mbuf **);
int pfil_flags;
};
@@ -60,11 +60,11 @@ struct pfil_head {
int ph_init;
};
-struct packet_filter_hook *pfil_hook_get __P((int, struct pfil_head *));
-int pfil_add_hook __P((int (*func) __P((void *, int,
- struct ifnet *, int, struct mbuf **)), int, struct pfil_head *));
-int pfil_remove_hook __P((int (*func) __P((void *, int,
- struct ifnet *, int, struct mbuf **)), int, struct pfil_head *));
+struct packet_filter_hook *pfil_hook_get(int, struct pfil_head *);
+int pfil_add_hook(int (*func)(void *, int,
+ struct ifnet *, int, struct mbuf **), int, struct pfil_head *);
+int pfil_remove_hook(int (*func)(void *, int,
+ struct ifnet *, int, struct mbuf **), int, struct pfil_head *);
/* XXX */
#if defined(_KERNEL) && !defined(KLD_MODULE)
OpenPOWER on IntegriCloud