]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/mig_errors.h
xnu-1699.26.8.tar.gz
[apple/xnu.git] / osfmk / mach / mig_errors.h
index 34c03cbb61c4a92ffeb90424fb4e2cd0836fb1ca..f1234bc7b4488dc3aeca092d9e4fadf0d3bb8b16 100644 (file)
@@ -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