X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..5eebf7385fedb1517b66b53c28e5aa6bb0a2be50:/bsd/libkern/libkern.h?ds=sidebyside diff --git a/bsd/libkern/libkern.h b/bsd/libkern/libkern.h index 25511e503..16c005525 100644 --- a/bsd/libkern/libkern.h +++ b/bsd/libkern/libkern.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * @@ -57,18 +57,24 @@ #ifndef _LIBKERN_LIBKERN_H_ #define _LIBKERN_LIBKERN_H_ +#include #include #include +#ifdef __APPLE_API_OBSOLETE /* BCD conversions. */ extern u_char const bcd2bin_data[]; extern u_char const bin2bcd_data[]; -extern char const hex2ascii_data[]; #define bcd2bin(bcd) (bcd2bin_data[bcd]) #define bin2bcd(bin) (bin2bcd_data[bin]) -#define hex2ascii(hex) (hex2ascii_data[hex]) +#endif /* __APPLE_API_OBSOLETE */ +#ifdef __APPLE_API_PRIVATE +extern char const hex2ascii_data[]; + +#define hex2ascii(hex) (hex2ascii_data[hex]) +#endif /* __APPLE_API_PRIVATE */ __BEGIN_DECLS static inline int