diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-16 10:13:02 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-16 18:55:08 +0200 |
commit | 868a820a19ff66c370cf40573ac89738386513c3 (patch) | |
tree | 5707998734db6f10ec8d133bf3a5da3df7cf6cbc /proc/hash.c | |
parent | 820241ead7e31082fa99f3e756c6aa73aae7d88b (diff) | |
download | hurd-868a820a19ff66c370cf40573ac89738386513c3.tar.gz hurd-868a820a19ff66c370cf40573ac89738386513c3.tar.bz2 hurd-868a820a19ff66c370cf40573ac89738386513c3.zip |
proc: move translation functions to mig-decls.h
* proc/hash.c (reqport_find): Move this function...
* proc/proc.h (process_drop): ... and this...
* proc/mig-decls.h: ... here and rename them.
* proc/mig-mutate.h: Update accordingly.
Diffstat (limited to 'proc/hash.c')
-rw-r--r-- | proc/hash.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/proc/hash.c b/proc/hash.c index ed670a16..e4dc5ffd 100644 --- a/proc/hash.c +++ b/proc/hash.c @@ -76,17 +76,6 @@ task_find_nocreate (task_t task) return (!p || p->p_dead) ? 0 : p; } -/* Find the process corresponding to a given request port. */ -struct proc * -reqport_find (mach_port_t reqport) -{ - struct proc *p; - p = ports_lookup_port (proc_bucket, reqport, proc_class); - if (p && p->p_dead) - ports_port_deref (p); - return (!p || p->p_dead) ? 0 : p; -} - /* Find the process group corresponding to a given pgid. */ struct pgrp * pgrp_find (pid_t pgid) |