commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 04/43: hurd: Fix the use of polymorphic types.


From: Samuel Thibault
Subject: [hurd] 04/43: hurd: Fix the use of polymorphic types.
Date: Mon, 11 Sep 2017 07:10:08 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 26e774bab06eab72847a7ca052a90d5319ad658a
Author: Justus Winter <address@hidden>
Date:   Mon Jun 5 16:29:58 2017 +0200

    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.
---
 hurd/process.defs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/hurd/process.defs b/hurd/process.defs
index df70eb9..d724e20 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;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]