diff options
author | alfred <alfred@FreeBSD.org> | 2002-03-19 21:54:18 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-03-19 21:54:18 +0000 |
commit | c9985516e46bc6cccc11eac067da81d7968b7700 (patch) | |
tree | 1dac628690deaa2d6ec636edfafaaa40b6cc7fd5 /sys/net/pfil.c | |
parent | d0017d9252543e0da162688302446230e54dd45e (diff) | |
download | FreeBSD-src-c9985516e46bc6cccc11eac067da81d7968b7700.zip FreeBSD-src-c9985516e46bc6cccc11eac067da81d7968b7700.tar.gz |
Remove __P.
Diffstat (limited to 'sys/net/pfil.c')
-rw-r--r-- | sys/net/pfil.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/sys/net/pfil.c b/sys/net/pfil.c index 02d9656..2ed40b2 100644 --- a/sys/net/pfil.c +++ b/sys/net/pfil.c @@ -39,11 +39,11 @@ #include <net/if.h> #include <net/pfil.h> -static void pfil_init __P((struct pfil_head *)); +static void pfil_init(struct pfil_head *); static int pfil_list_add(pfil_list_t *, - int (*) __P((void *, int, struct ifnet *, int, struct mbuf **)), int); + int (*)(void *, int, struct ifnet *, int, struct mbuf **), int); static int pfil_list_remove(pfil_list_t *, - int (*) __P((void *, int, struct ifnet *, int, struct mbuf **))); + int (*)(void *, int, struct ifnet *, int, struct mbuf **)); static void pfil_init(ph) @@ -65,8 +65,7 @@ pfil_init(ph) */ int pfil_add_hook(func, flags, ph) - int (*func) __P((void *, int, struct ifnet *, int, - struct mbuf **)); + int (*func)(void *, int, struct ifnet *, int, struct mbuf **); int flags; struct pfil_head *ph; { @@ -92,8 +91,7 @@ pfil_add_hook(func, flags, ph) static int pfil_list_add(list, func, flags) pfil_list_t *list; - int (*func) __P((void *, int, struct ifnet *, int, - struct mbuf **)); + int (*func)(void *, int, struct ifnet *, int, struct mbuf **); int flags; { struct packet_filter_hook *pfh; @@ -121,8 +119,7 @@ pfil_list_add(list, func, flags) */ int pfil_remove_hook(func, flags, ph) - int (*func) __P((void *, int, struct ifnet *, int, - struct mbuf **)); + int (*func)(void *, int, struct ifnet *, int, struct mbuf **); int flags; struct pfil_head *ph; { @@ -145,8 +142,7 @@ pfil_remove_hook(func, flags, ph) static int pfil_list_remove(list, func) pfil_list_t *list; - int (*func) __P((void *, int, struct ifnet *, int, - struct mbuf **)); + int (*func)(void *, int, struct ifnet *, int, struct mbuf **); { struct packet_filter_hook *pfh; |