summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_encap.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-19 21:25:46 +0000
committeralfred <alfred@FreeBSD.org>2002-03-19 21:25:46 +0000
commit357e37e023059920b1f80494e489797e2f69a3dd (patch)
tree7ea68f3b5c452a55df6c05b903dae3ac1e8f71f9 /sys/netinet/ip_encap.c
parentca2e5c188ee68045b54a86bfefcfd4a75e174221 (diff)
downloadFreeBSD-src-357e37e023059920b1f80494e489797e2f69a3dd.zip
FreeBSD-src-357e37e023059920b1f80494e489797e2f69a3dd.tar.gz
Remove __P.
Diffstat (limited to 'sys/netinet/ip_encap.c')
-rw-r--r--sys/netinet/ip_encap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/ip_encap.c b/sys/netinet/ip_encap.c
index 74534fe..cdeb7ab 100644
--- a/sys/netinet/ip_encap.c
+++ b/sys/netinet/ip_encap.c
@@ -92,10 +92,10 @@
#include <sys/malloc.h>
static MALLOC_DEFINE(M_NETADDR, "Export Host", "Export host address structure");
-static void encap_add __P((struct encaptab *));
-static int mask_match __P((const struct encaptab *, const struct sockaddr *,
- const struct sockaddr *));
-static void encap_fillarg __P((struct mbuf *, const struct encaptab *));
+static void encap_add(struct encaptab *);
+static int mask_match(const struct encaptab *, const struct sockaddr *,
+ const struct sockaddr *);
+static void encap_fillarg(struct mbuf *, const struct encaptab *);
#ifndef LIST_HEAD_INITIALIZER
/* rely upon BSS initialization */
@@ -369,7 +369,7 @@ const struct encaptab *
encap_attach_func(af, proto, func, psw, arg)
int af;
int proto;
- int (*func) __P((const struct mbuf *, int, int, void *));
+ int (*func)(const struct mbuf *, int, int, void *);
const struct protosw *psw;
void *arg;
{
OpenPOWER on IntegriCloud