X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..7ddcb079202367355dddccdfa4318e57d50318be:/osfmk/mach/mig_errors.h diff --git a/osfmk/mach/mig_errors.h b/osfmk/mach/mig_errors.h index 34c03cbb6..f1234bc7b 100644 --- a/osfmk/mach/mig_errors.h +++ b/osfmk/mach/mig_errors.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2000-2007 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -106,20 +106,18 @@ typedef struct { __BEGIN_DECLS +#if !defined(__NDR_convert__mig_reply_error_t__defined) #define __NDR_convert__mig_reply_error_t__defined -#if mig_internal -mig_internal -#else -static -#endif -__inline__ void -__NDR_convert__mig_reply_error_t(mig_reply_error_t *x) + +static __inline__ void +__NDR_convert__mig_reply_error_t(__unused mig_reply_error_t *x) { #if defined(__NDR_convert__int_rep__kern_return_t__defined) if (x->NDR.int_rep != NDR_record.int_rep) __NDR_convert__int_rep__kern_return_t(&x->RetCode, x->NDR.int_rep); #endif /* __NDR_convert__int_rep__kern_return_t__defined */ } +#endif /* !defined(__NDR_convert__mig_reply_error_t__defined) */ __END_DECLS