summaryrefslogtreecommitdiffstats
path: root/hunt/huntd/extern.c
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>2002-09-20 20:54:15 +0000
committermycroft <mycroft@NetBSD.org>2002-09-20 20:54:15 +0000
commita59b491d37669e51053c17262118e5fec67ad358 (patch)
treeba4a3a015e73c96fa05b76f80679c5c5e7ffdfca /hunt/huntd/extern.c
parente05b1c0de535fc268d8d5ccb5f1d3d9c0f6d0d42 (diff)
downloadbsdgames-darwin-a59b491d37669e51053c17262118e5fec67ad358.tar.gz
bsdgames-darwin-a59b491d37669e51053c17262118e5fec67ad358.zip
select() -> poll()
Also, turn off talk announcements; it's a wretched hack.
Diffstat (limited to 'hunt/huntd/extern.c')
-rw-r--r--hunt/huntd/extern.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/hunt/huntd/extern.c b/hunt/huntd/extern.c
index e25ba836..d11b0ca5 100644
--- a/hunt/huntd/extern.c
+++ b/hunt/huntd/extern.c
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.c,v 1.2 1997/10/10 16:33:24 lukem Exp $ */
+/* $NetBSD: extern.c,v 1.3 2002/09/20 20:54:16 mycroft Exp $ */
/*
* Hunt
* Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
@@ -7,7 +7,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: extern.c,v 1.2 1997/10/10 16:33:24 lukem Exp $");
+__RCSID("$NetBSD: extern.c,v 1.3 2002/09/20 20:54:16 mycroft Exp $");
#endif /* not lint */
# include "hunt.h"
@@ -20,10 +20,8 @@ char Buf[BUFSIZ]; /* general scribbling buffer */
char Maze[HEIGHT][WIDTH2]; /* the maze */
char Orig_maze[HEIGHT][WIDTH2]; /* the original maze */
-fd_set Fds_mask; /* mask for the file descriptors */
-fd_set Have_inp; /* which file descriptors have input */
+struct pollfd fdset[3+MAXPL+MAXMON];
int Nplayer = 0; /* number of players */
-int Num_fds; /* number of maximum file descriptor */
int Socket; /* main socket */
int Status; /* stat socket */
int See_over[NASCII]; /* lookup table for determining whether