aboutsummaryrefslogtreecommitdiff
path: root/proc/host.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-16 18:54:19 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-16 19:29:10 +0100
commitdd3048b2e483f66571cfa1b2ccebb2091b9ad990 (patch)
treee8cc587d06c15befd9ab7212938bb0e05a029c23 /proc/host.c
parent2e38095efd8cad7fe6feb95dbeb276b7a4287f05 (diff)
downloadhurd-dd3048b2e483f66571cfa1b2ccebb2091b9ad990.tar.gz
hurd-dd3048b2e483f66571cfa1b2ccebb2091b9ad990.tar.bz2
hurd-dd3048b2e483f66571cfa1b2ccebb2091b9ad990.zip
Make RPC input array parameters const
This follows mig's cf4bcc3f1435 ("Also add const qualifiers on server side")
Diffstat (limited to 'proc/host.c')
-rw-r--r--proc/host.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/proc/host.c b/proc/host.c
index 9934837f..991d1335 100644
--- a/proc/host.c
+++ b/proc/host.c
@@ -79,9 +79,9 @@ S_proc_getprivports (struct proc *p,
/* Implement proc_setexecdata as described in <hurd/process.defs>. */
kern_return_t
S_proc_setexecdata (struct proc *p,
- mach_port_t *ports,
+ const mach_port_t *ports,
size_t nports,
- int *ints,
+ const int *ints,
size_t nints)
{
int i;
@@ -409,9 +409,9 @@ S_proc_uname (pstruct_t process,
kern_return_t
S_proc_register_version (pstruct_t server,
mach_port_t credential,
- string_t name,
- string_t release,
- string_t version)
+ const_string_t name,
+ const_string_t release,
+ const_string_t version)
{
error_t err = 0;
int i;