From b66e7d0f2c4e0754e51ffce14386e1884c29d08e Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 6 Mar 2017 00:29:37 +0100 Subject: boot: Move declaration. * boot/boot.c (new_task_notification): Move declaration to the top, add comment. --- boot/boot.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'boot') diff --git a/boot/boot.c b/boot/boot.c index 9c2a0218..950aedb9 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -128,6 +128,10 @@ mach_port_t task_notification_port; mach_port_t dead_task_notification_port; auth_t authserver; +/* The proc server registers for new task notifications which we will + send to this port. */ +mach_port_t new_task_notification; + struct store *root_store; pthread_spinlock_t queuelock = PTHREAD_SPINLOCK_INITIALIZER; @@ -1920,8 +1924,6 @@ S_host_processor_set_priv (mach_port_t host_priv, return KERN_SUCCESS; } -mach_port_t new_task_notification; - kern_return_t S_register_new_task_notification (mach_port_t host_priv, mach_port_t notification) -- cgit v1.2.3