diff options
author | comex | 2015-10-27 21:34:06 -0400 |
---|---|---|
committer | comex | 2015-10-27 21:34:06 -0400 |
commit | f564a8033543934303b155c8d0d36ccb38374a5e (patch) | |
tree | 56ab7d6ec7d3d101e0a878e1bae8321b5b4ed6ed /generated | |
parent | fixed. (diff) | |
download | substitute-f564a8033543934303b155c8d0d36ccb38374a5e.tar.gz |
better
Diffstat (limited to 'generated')
-rw-r--r-- | generated/manual-mach.inc.h | 42 |
1 files changed, 3 insertions, 39 deletions
diff --git a/generated/manual-mach.inc.h b/generated/manual-mach.inc.h index cfb8fd8..2d14eab 100644 --- a/generated/manual-mach.inc.h +++ b/generated/manual-mach.inc.h @@ -16,15 +16,12 @@ #ifndef KERNEL #if defined(__has_include) #if __has_include(<mach/mig_voucher_support.h>) -#ifndef USING_VOUCHERS #define USING_VOUCHERS -#endif #ifndef __VOUCHER_FORWARD_TYPE_DECLS__ #define __VOUCHER_FORWARD_TYPE_DECLS__ #ifdef __cplusplus -extern "C" { +static "C" { #endif - extern boolean_t voucher_mach_msg_set(mach_msg_header_t *msg) __attribute__((weak_import)); #ifdef __cplusplus } #endif @@ -66,11 +63,7 @@ __BEGIN_DECLS /* Routine thread_get_state */ -#ifdef static static -#else -extern -#endif /* static */ kern_return_t manual_thread_get_state ( thread_act_t target_act, @@ -80,11 +73,7 @@ kern_return_t manual_thread_get_state , mach_port_t reply_port); /* Routine thread_set_state */ -#ifdef static static -#else -extern -#endif /* static */ kern_return_t manual_thread_set_state ( thread_act_t target_act, @@ -125,7 +114,7 @@ kern_return_t manual_thread_set_state /* * IDENTIFICATION: - * stub generated Tue Oct 27 21:24:44 2015 + * stub generated Tue Oct 27 21:33:54 2015 * with a MiG generated by bootstrap_cmds-93 * OPTIONS: */ @@ -137,9 +126,6 @@ kern_return_t manual_thread_set_state #define mig_internal static __inline__ #endif /* mig_internal */ -#ifndef static -#define static -#endif /* static */ #if !defined(__MigKernelSpecificCode) && defined(_MIG_KERNEL_SPECIFIC_CODE_) @@ -355,11 +341,6 @@ static kern_return_t manual_thread_get_state /* BEGIN VOUCHER CODE */ -#ifdef USING_VOUCHERS - if (voucher_mach_msg_set != NULL) { - voucher_mach_msg_set(&InP->Head); - } -#endif // USING_VOUCHERS /* END VOUCHER CODE */ @@ -507,11 +488,6 @@ static kern_return_t manual_thread_set_state /* BEGIN VOUCHER CODE */ -#ifdef USING_VOUCHERS - if (voucher_mach_msg_set != NULL) { - voucher_mach_msg_set(&InP->Head); - } -#endif // USING_VOUCHERS /* END VOUCHER CODE */ @@ -534,11 +510,7 @@ static kern_return_t manual_thread_set_state } /* Routine mach_vm_remap */ -#ifdef static static -#else -extern -#endif /* static */ kern_return_t manual_mach_vm_remap ( vm_map_t target_task, @@ -582,7 +554,7 @@ kern_return_t manual_mach_vm_remap /* * IDENTIFICATION: - * stub generated Tue Oct 27 21:24:44 2015 + * stub generated Tue Oct 27 21:33:54 2015 * with a MiG generated by bootstrap_cmds-93 * OPTIONS: */ @@ -594,9 +566,6 @@ kern_return_t manual_mach_vm_remap #define mig_internal static __inline__ #endif /* mig_internal */ -#ifndef static -#define static -#endif /* static */ #if !defined(__MigKernelSpecificCode) && defined(_MIG_KERNEL_SPECIFIC_CODE_) @@ -850,11 +819,6 @@ static kern_return_t manual_mach_vm_remap /* BEGIN VOUCHER CODE */ -#ifdef USING_VOUCHERS - if (voucher_mach_msg_set != NULL) { - voucher_mach_msg_set(&InP->Head); - } -#endif // USING_VOUCHERS /* END VOUCHER CODE */ |