diff options
| author | dholland <dholland@NetBSD.org> | 2009-03-14 22:52:52 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2009-03-14 22:52:52 +0000 |
| commit | e98a44895c7ca5a00b080fce0b3cbb16bcdff859 (patch) | |
| tree | a74a3e03e0056c3de3d2b751b6dea1f59baec1c7 /sail/pl_1.c | |
| parent | 5e8d1f0902b592fc872212ecccaca23c8ce85231 (diff) | |
| download | bsdgames-darwin-e98a44895c7ca5a00b080fce0b3cbb16bcdff859.tar.gz bsdgames-darwin-e98a44895c7ca5a00b080fce0b3cbb16bcdff859.zip | |
Create some abstraction for sending messages.
Make a send and receive function for each possible message.
Make these have useful argument signatures.
Hide the list of message codes inside sync.c.
Diffstat (limited to 'sail/pl_1.c')
| -rw-r--r-- | sail/pl_1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sail/pl_1.c b/sail/pl_1.c index 8bb4b832..9dae48d9 100644 --- a/sail/pl_1.c +++ b/sail/pl_1.c @@ -1,4 +1,4 @@ -/* $NetBSD: pl_1.c,v 1.20 2009/03/14 20:14:56 dholland Exp $ */ +/* $NetBSD: pl_1.c,v 1.21 2009/03/14 22:52:52 dholland Exp $ */ /* * Copyright (c) 1983, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)pl_1.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pl_1.c,v 1.20 2009/03/14 20:14:56 dholland Exp $"); +__RCSID("$NetBSD: pl_1.c,v 1.21 2009/03/14 22:52:52 dholland Exp $"); #endif #endif /* not lint */ @@ -107,7 +107,7 @@ leave(int conditions) if (conditions != LEAVE_SYNC) { makemsg(ms, "Captain %s relinquishing.", mf->captain); - Write(W_END, ms, 0, 0, 0, 0); + send_end(ms); Sync(); } } |
