summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-05-06 17:08:49 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-05-06 17:08:49 +0000
commited7282eb043ea030f16d738785b6a36ef097cd4f (patch)
treefcb0b0b23d675c0187550771c6449ffe2c8e075f
parenta735dac9232cd10c4bf761b6e0a4b9a519e190a4 (diff)
Formerly msg.c.~4~
-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)
{