]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/net/net_osdep.h
xnu-792.tar.gz
[apple/xnu.git] / bsd / net / net_osdep.h
index e350606ac00d17b879db508bd378a1a8125b9ea1..15775cb29fb1ca6e465a78d692b471bfac31c2f5 100644 (file)
 #ifndef __NET_NET_OSDEP_H_DEFINED_
 #define __NET_NET_OSDEP_H_DEFINED_
 #include <sys/appleapiopts.h>
-#ifdef KERNEL
+#ifdef KERNEL_PRIVATE
 
 struct ifnet;
-extern const char *if_name __P((struct ifnet *));
+extern const char *if_name(struct ifnet *);
 
 #define HAVE_OLD_BPF
 
@@ -272,5 +272,5 @@ extern const char *if_name __P((struct ifnet *));
 #define WITH_CONVERT_IP_OFF
 #endif
 
-#endif /*_KERNEL*/
+#endif /* KERNEL_PRIVATE */
 #endif /*__NET_NET_OSDEP_H_DEFINED_ */