summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-06-05 16:29:58 +0200
committerJustus Winter <justus@gnupg.org>2017-06-05 16:39:08 +0200
commit26e774bab06eab72847a7ca052a90d5319ad658a (patch)
tree2f647cd1c37a99a7a78b0d3976e6c7d715fc3cdf /hurd
parent74f4e5781e0f259a22b8e1e125973262600abed7 (diff)
hurd: Fix the use of polymorphic types.
Fixes baf7e5c8ce176aead15c2559952d8bdf0da41ffd. * hurd/process.defs (proc_getmsgport): Make 'msgport' parameter polymorphic only on the sender side. (proc_task2proc): Likewise for 'proc'. (proc_pid2proc): Likewise.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/process.defs6
1 files changed, 3 insertions, 3 deletions
diff --git a/hurd/process.defs b/hurd/process.defs
index df70eb9a..d724e20d 100644
--- a/hurd/process.defs
+++ b/hurd/process.defs
@@ -156,7 +156,7 @@ routine proc_getmsgport (
process: process_t;
sreplyport reply_port: sreply_port_t;
pid: pid_t;
- out msgport: mach_port_poly_t);
+ out msgport: mach_port_send_t);
/* Wait for a child process to exit. If pid is zero, it waits for any
child in the same pgrp as the parent. If pid is -1, it waits for
@@ -246,7 +246,7 @@ routine proc_task2pid (
routine proc_task2proc (
process: process_t;
task: task_t;
- out proc: mach_port_poly_t);
+ out proc: mach_port_send_t);
routine proc_proc2task (
process: process_t;
@@ -255,7 +255,7 @@ routine proc_proc2task (
routine proc_pid2proc (
process: process_t;
pid: pid_t;
- out proc: mach_port_poly_t);
+ out proc: mach_port_send_t);
routine proc_getprocinfo (
process: process_t;