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.
This commit is contained in:
Bruce Evans 2002-02-02 09:50:45 +00:00
parent b8483c75e1
commit c1e954d14a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90118

View File

@ -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];