]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet/ip_encap.c
xnu-792.25.20.tar.gz
[apple/xnu.git] / bsd / netinet / ip_encap.c
index e4c9c7c9bb848332a23d2dc2840fda4061975905..9517bbb0595a9dbb271860b2c4755e7ed58ba812 100644 (file)
 MALLOC_DEFINE(M_NETADDR, "Export Host", "Export host address structure");
 #endif
 
 MALLOC_DEFINE(M_NETADDR, "Export Host", "Export host address structure");
 #endif
 
-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 */
 
 #ifndef LIST_HEAD_INITIALIZER
 /* rely upon BSS initialization */
@@ -412,7 +412,7 @@ const struct encaptab *
 encap_attach_func(af, proto, func, psw, arg)
        int af;
        int proto;
 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;
 {
        const struct protosw *psw;
        void *arg;
 {