mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
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:
parent
b8483c75e1
commit
c1e954d14a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90118
@ -102,6 +102,7 @@ static const char rcsid[] =
|
|||||||
#include <varargs.h>
|
#include <varargs.h>
|
||||||
#endif
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <termcap.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "snake.h"
|
#include "snake.h"
|
||||||
@ -110,7 +111,6 @@ int CMlength;
|
|||||||
int NDlength;
|
int NDlength;
|
||||||
int BSlength;
|
int BSlength;
|
||||||
int delaystr[10];
|
int delaystr[10];
|
||||||
short ospeed;
|
|
||||||
|
|
||||||
static char str[80];
|
static char str[80];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user