X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/e5568f75972dfc723778653c11cb6b4dc825716a..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/bsd/netinet/ip_ecn.h diff --git a/bsd/netinet/ip_ecn.h b/bsd/netinet/ip_ecn.h index 4aa2132c5..6e452f578 100644 --- a/bsd/netinet/ip_ecn.h +++ b/bsd/netinet/ip_ecn.h @@ -54,13 +54,11 @@ */ #include +#ifdef KERNEL_PRIVATE #define ECN_ALLOWED 1 /* ECN allowed */ #define ECN_FORBIDDEN 0 /* ECN forbidden */ #define ECN_NOCARE (-1) /* no consideration to ECN */ -#ifdef KERNEL -#ifdef __APPLE_API_PRIVATE -extern void ip_ecn_ingress __P((int, u_int8_t *, const u_int8_t *)); -extern void ip_ecn_egress __P((int, const u_int8_t *, u_int8_t *)); -#endif /* __APPLE_API_PRIVATE */ -#endif +extern void ip_ecn_ingress(int, u_int8_t *, const u_int8_t *); +extern void ip_ecn_egress(int, const u_int8_t *, u_int8_t *); +#endif KERNEL_PRIVATE