summaryrefslogtreecommitdiff
path: root/kern/host.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-16 23:55:15 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-17 19:03:28 +0100
commit827c01fadb98e77f692d39d0fb34a1944e43c99b (patch)
tree46c60239eaddbcfb2f79195989c23b16c3ce55d8 /kern/host.c
parentece37d66ae394a0d783f3cba8a71d7b61735b0aa (diff)
kern: qualify pointers whose dereferenced values are constant with const
Diffstat (limited to 'kern/host.c')
-rw-r--r--kern/host.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/kern/host.c b/kern/host.c
index 698acea..2855cd2 100644
--- a/kern/host.c
+++ b/kern/host.c
@@ -47,7 +47,7 @@
host_data_t realhost;
kern_return_t host_processors(
- host_t host,
+ const host_t host,
processor_array_t *processor_list,
natural_t *countp)
{
@@ -95,7 +95,7 @@ kern_return_t host_processors(
}
kern_return_t host_info(
- host_t host,
+ const host_t host,
int flavor,
host_info_t info,
natural_t *count)
@@ -204,7 +204,7 @@ kern_return_t host_info(
*/
kern_return_t host_kernel_version(
- host_t host,
+ const host_t host,
kernel_version_t out_version)
{
extern char version[];
@@ -225,7 +225,7 @@ kern_return_t host_kernel_version(
#if MACH_HOST
kern_return_t
host_processor_sets(
- host_t host,
+ const host_t host,
processor_set_name_array_t *pset_list,
natural_t *count)
{
@@ -324,7 +324,7 @@ host_processor_sets(
*/
kern_return_t
host_processor_sets(
- host_t host,
+ const host_t host,
processor_set_name_array_t *pset_list,
natural_t *count)
{
@@ -362,7 +362,7 @@ host_processor_sets(
*/
kern_return_t
host_processor_set_priv(
- host_t host,
+ const host_t host,
processor_set_t pset_name,
processor_set_t *pset)
{