diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-16 23:55:17 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-17 19:03:52 +0100 |
commit | 5a5ec187ae6cb2afc874ad9ef118ef634e9164c8 (patch) | |
tree | 2b4a7146254a713bce9eb2c8cf95635a6969a435 /vm/memory_object_proxy.c | |
parent | cea1f71ee21451d89cddeff04d8145697a5deab8 (diff) | |
download | gnumach-5a5ec187ae6cb2afc874ad9ef118ef634e9164c8.tar.gz gnumach-5a5ec187ae6cb2afc874ad9ef118ef634e9164c8.tar.bz2 gnumach-5a5ec187ae6cb2afc874ad9ef118ef634e9164c8.zip |
vm: qualify pointers whose dereferenced values are constant with const
Diffstat (limited to 'vm/memory_object_proxy.c')
-rw-r--r-- | vm/memory_object_proxy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vm/memory_object_proxy.c b/vm/memory_object_proxy.c index 4fed312e..a64bfcce 100644 --- a/vm/memory_object_proxy.c +++ b/vm/memory_object_proxy.c @@ -115,11 +115,11 @@ memory_object_proxy_notify (mach_msg_header_t *msg) given OBJECT at OFFSET in the new object with the maximum protection MAX_PROTECTION and return it in *PORT. */ kern_return_t -memory_object_create_proxy (ipc_space_t space, vm_prot_t max_protection, +memory_object_create_proxy (const ipc_space_t space, vm_prot_t max_protection, ipc_port_t *object, natural_t object_count, - vm_offset_t *offset, natural_t offset_count, - vm_offset_t *start, natural_t start_count, - vm_offset_t *len, natural_t len_count, + const vm_offset_t *offset, natural_t offset_count, + const vm_offset_t *start, natural_t start_count, + const vm_offset_t *len, natural_t len_count, ipc_port_t *port) { memory_object_proxy_t proxy; |