summaryrefslogtreecommitdiff
path: root/kern/syscall_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/syscall_subr.c')
-rw-r--r--kern/syscall_subr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/kern/syscall_subr.c b/kern/syscall_subr.c
index 6d23462c..0030e027 100644
--- a/kern/syscall_subr.c
+++ b/kern/syscall_subr.c
@@ -61,7 +61,7 @@
* returned, the thread should make one more check on the
* lock and then be a good citizen and really suspend.
*/
-void swtch_continue(void)
+static void swtch_continue(void)
{
processor_t myprocessor;
@@ -89,7 +89,7 @@ boolean_t swtch(void)
myprocessor->processor_set->runq.count > 0);
}
-void swtch_pri_continue(void)
+static void swtch_pri_continue(void)
{
thread_t thread = current_thread();
processor_t myprocessor;
@@ -130,7 +130,7 @@ boolean_t swtch_pri(int pri)
myprocessor->processor_set->runq.count > 0);
}
-void thread_switch_continue(void)
+static void thread_switch_continue(void)
{
thread_t cur_thread = current_thread();
@@ -152,8 +152,8 @@ void thread_switch_continue(void)
* even if that violates priority order.
*/
kern_return_t thread_switch(
- mach_port_t thread_name,
- int option,
+ mach_port_name_t thread_name,
+ int option,
mach_msg_timeout_t option_time)
{
thread_t cur_thread = current_thread();