summaryrefslogtreecommitdiff
path: root/proc
diff options
context:
space:
mode:
Diffstat (limited to 'proc')
-rw-r--r--proc/msg.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/proc/msg.c b/proc/msg.c
index ad2f047b..2322d7fa 100644
--- a/proc/msg.c
+++ b/proc/msg.c
@@ -25,12 +25,10 @@
/* Check to see if process P is blocked trying to get the message
port of process AVAILP; if so, return its call. */
void
-check_message_return (struct proc *p, struct proc *availp)
+check_message_return (struct proc *p, void *availpaddr)
{
+ struct proc *availp = availpaddr;
struct getmsgport_c *c = &p->p_continuation.getmsgport_c;
- struct proc *cp;
- mach_port_t *msgports;
- int i;
if (p->p_msgportwait && c->msgp == availp)
{
@@ -62,7 +60,6 @@ void
check_message_dying (struct proc *p, struct proc *dyingp)
{
struct getmsgport_c *c = &p->p_continuation.getmsgport_c;
- int i;
if (p->p_msgportwait && c->msgp == dyingp)
{