From adb8a48dd397a1c27273e9fce9c3bbf94c3ff79b Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Mon, 11 Nov 2013 20:59:56 +0100 Subject: kern: remove register qualifiers * kern/host.c: Remove register qualifiers. --- kern/host.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kern/host.c') diff --git a/kern/host.c b/kern/host.c index 57a40b4..773697c 100644 --- a/kern/host.c +++ b/kern/host.c @@ -51,8 +51,8 @@ kern_return_t host_processors( processor_array_t *processor_list, natural_t *countp) { - register int i; - register processor_t *tp; + int i; + processor_t *tp; vm_offset_t addr; unsigned int count; @@ -100,7 +100,7 @@ kern_return_t host_info( host_info_t info, natural_t *count) { - register integer_t i, *slot_ptr; + integer_t i, *slot_ptr; if (host == HOST_NULL) return KERN_INVALID_ARGUMENT; @@ -109,7 +109,7 @@ kern_return_t host_info( case HOST_BASIC_INFO: { - register host_basic_info_t basic_info; + host_basic_info_t basic_info; /* * Basic information about this host. @@ -152,7 +152,7 @@ kern_return_t host_info( case HOST_SCHED_INFO: { - register host_sched_info_t sched_info; + host_sched_info_t sched_info; extern int min_quantum; /* minimum quantum, in microseconds */ @@ -174,7 +174,7 @@ kern_return_t host_info( case HOST_LOAD_INFO: { - register host_load_info_t load_info; + host_load_info_t load_info; extern long avenrun[3], mach_factor[3]; if (*count < HOST_LOAD_INFO_COUNT) -- cgit v1.2.3