-/* $NetBSD: extern.h,v 1.32 2009/03/14 22:52:52 dholland Exp $ */
+/* $NetBSD: extern.h,v 1.33 2009/03/14 22:54:05 dholland Exp $ */
/*
* Copyright (c) 1983, 1993
void send_dbp(struct ship *ship, long a, long b, long c, long d);
void send_drift(struct ship *ship, long a);
void send_explode(struct ship *ship, long a);
-void send_file(void);
void send_foul(struct ship *ship, long a);
void send_gunl(struct ship *ship, long a, long b);
void send_gunr(struct ship *ship, long a, long b);
-/* $NetBSD: sync.c,v 1.30 2009/03/14 22:52:53 dholland Exp $ */
+/* $NetBSD: sync.c,v 1.31 2009/03/14 22:54:05 dholland Exp $ */
/*
* Copyright (c) 1983, 1993
#if 0
static char sccsid[] = "@(#)sync.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: sync.c,v 1.30 2009/03/14 22:52:53 dholland Exp $");
+__RCSID("$NetBSD: sync.c,v 1.31 2009/03/14 22:54:05 dholland Exp $");
#endif
#endif /* not lint */
#define W_DBP 5
#define W_DRIFT 6
#define W_EXPLODE 7
-#define W_FILE 8
+/* W_FILE 8 not used */
#define W_FOUL 9
#define W_GUNL 10
#define W_GUNR 11
static void recv_dbp(struct ship *ship, long a, long b, long c, long d);
static void recv_drift(struct ship *ship, long a);
static void recv_explode(struct ship *ship, long a);
-static void recv_file(void);
static void recv_foul(struct ship *ship, long a);
static void recv_gunl(struct ship *ship, long a, long b);
static void recv_gunr(struct ship *ship, long a, long b);
case W_DBP: recv_dbp(ship, a, b, c, d); break;
case W_DRIFT: recv_drift(ship, a); break;
case W_EXPLODE: recv_explode(ship, a); break;
- case W_FILE: recv_file(); break;
case W_FOUL: recv_foul(ship, a); break;
case W_GUNL: recv_gunl(ship, a, b); break;
case W_GUNR: recv_gunr(ship, a, b); break;
Write(W_EXPLODE, ship, a, 0, 0, 0);
}
-void
-send_file(void)
-{
- Write(W_FILE, NULL, 0, 0, 0, 0);
-}
-
void
send_foul(struct ship *ship, long a)
{
ship->file->dir = 0;
}
-// XXX why does this exist?
-static void
-recv_file(void)
-{
-}
-
static void
recv_foul(struct ship *ship, long a)
{