diff options
Diffstat (limited to 'proc')
-rw-r--r-- | proc/host.c | 10 | ||||
-rw-r--r-- | proc/info.c | 4 |
2 files changed, 7 insertions, 7 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; diff --git a/proc/info.c b/proc/info.c index 435c718f..edade95b 100644 --- a/proc/info.c +++ b/proc/info.c @@ -954,7 +954,7 @@ S_proc_getloginpids (struct proc *callerp, /* Implement proc_setlogin as described in <hurd/process.defs>. */ kern_return_t S_proc_setlogin (struct proc *p, - string_t login) + const_string_t login) { struct login *l; @@ -1030,7 +1030,7 @@ S_proc_getnports (struct proc *callerp, /* Implement proc_set_path as described in <hurd/process.defs>. */ kern_return_t S_proc_set_exe (struct proc *p, - string_t path) + const_string_t path) { char *copy; |