From 2029728ed6d2a88350be945a892d325aebc2eb8d Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Tue, 17 Jan 2023 23:56:04 -0500 Subject: Include mig generated headers to avoid warnings with -Wmissing-prototypes. This also reverts 566c227636481b246d928772ebeaacbc7c37145b and 963b1794d7117064cee8ab5638b329db51dad854 Message-Id: --- kern/pc_sample.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kern/pc_sample.c') diff --git a/kern/pc_sample.c b/kern/pc_sample.c index d13beb07..9ac18821 100644 --- a/kern/pc_sample.c +++ b/kern/pc_sample.c @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #if MACH_PCSAMPLE @@ -159,7 +159,7 @@ get_sampled_pcs( sample_control_t *cp, sampled_pc_seqno_t *seqnop, sampled_pc_array_t sampled_pcs_out, - int *sampled_pcs_cntp) + mach_msg_type_number_t *sampled_pcs_cntp) { int nsamples; sampled_pc_seqno_t seqidx1, seqidx2; @@ -218,7 +218,7 @@ thread_get_sampled_pcs( thread_t thread, sampled_pc_seqno_t *seqnop, sampled_pc_array_t sampled_pcs_out, - int *sampled_pcs_cntp) + mach_msg_type_number_t *sampled_pcs_cntp) { if (thread == THREAD_NULL) return KERN_INVALID_ARGUMENT; @@ -235,7 +235,7 @@ task_get_sampled_pcs( task_t task, sampled_pc_seqno_t *seqnop, sampled_pc_array_t sampled_pcs_out, - int *sampled_pcs_cntp) + mach_msg_type_number_t *sampled_pcs_cntp) { if (task == TASK_NULL) return KERN_INVALID_ARGUMENT; -- cgit v1.2.3