summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-02-02 09:50:45 +0000
committerbde <bde@FreeBSD.org>2002-02-02 09:50:45 +0000
commitc38eb4d60afc961bddc4532ee6a89f6484c9aa82 (patch)
tree245def72cba0760bdfc87095e799d9127beb779f /games
parent96287e14a7b6fe7cc710a89afbf787f0744772ff (diff)
downloadFreeBSD-src-c38eb4d60afc961bddc4532ee6a89f6484c9aa82.zip
FreeBSD-src-c38eb4d60afc961bddc4532ee6a89f6484c9aa82.tar.gz
Don't declare our own common version of the library variable `ospeed'.
Include <termcap.h> to get its declaration. Our initialization of it is still dubious, but it agrees with ncurses' documentation of it (none) and with ncurses' recently fixed internals for it (old speeds from <sys/ttydev.h>) and with the 4.4Lite documentation for it.
Diffstat (limited to 'games')
-rw-r--r--games/snake/snake/move.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/snake/snake/move.c b/games/snake/snake/move.c
index e451996..6ef17bd 100644
--- a/games/snake/snake/move.c
+++ b/games/snake/snake/move.c
@@ -102,6 +102,7 @@ static const char rcsid[] =
#include <varargs.h>
#endif
#include <string.h>
+#include <termcap.h>
#include <unistd.h>
#include "snake.h"
@@ -110,7 +111,6 @@ int CMlength;
int NDlength;
int BSlength;
int delaystr[10];
-short ospeed;
static char str[80];
OpenPOWER on IntegriCloud