X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d7e50217d7adf6e52786a38bcaa4cd698cb9a79e..ff6e181ae92fc6f1e89841290f461d1f2f9badd9:/bsd/net/net_osdep.h diff --git a/bsd/net/net_osdep.h b/bsd/net/net_osdep.h index df43e22e3..050ee790d 100644 --- a/bsd/net/net_osdep.h +++ b/bsd/net/net_osdep.h @@ -3,8 +3,6 @@ * * @APPLE_LICENSE_HEADER_START@ * - * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved. - * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in @@ -253,10 +251,10 @@ #ifndef __NET_NET_OSDEP_H_DEFINED_ #define __NET_NET_OSDEP_H_DEFINED_ #include -#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 @@ -275,5 +273,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_ */