diff options
author | Justus Winter <justus@gnupg.org> | 2017-06-05 16:29:58 +0200 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2017-06-05 16:39:08 +0200 |
commit | 26e774bab06eab72847a7ca052a90d5319ad658a (patch) | |
tree | 2f647cd1c37a99a7a78b0d3976e6c7d715fc3cdf | |
parent | 74f4e5781e0f259a22b8e1e125973262600abed7 (diff) | |
download | hurd-26e774bab06eab72847a7ca052a90d5319ad658a.tar.gz hurd-26e774bab06eab72847a7ca052a90d5319ad658a.tar.bz2 hurd-26e774bab06eab72847a7ca052a90d5319ad658a.zip |
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.
-rw-r--r-- | hurd/process.defs | 6 |
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; |