Windows cleanup: include proper headers, remove unused variables, fix
type of signal handler. Mostly from Ron Koenderink.
This commit is contained in:
parent
cc5d78c2f0
commit
7dbb87b0e0
6 changed files with 13 additions and 15 deletions
|
@ -68,13 +68,11 @@ getsose()
|
|||
{
|
||||
#ifndef _WIN32
|
||||
extern s_char *tgetstr();
|
||||
#endif
|
||||
static s_char tbuf[1024];
|
||||
static s_char cbuf[20];
|
||||
s_char *cp;
|
||||
s_char *term;
|
||||
static s_char tbuf[1024];
|
||||
static s_char cbuf[20];
|
||||
|
||||
#ifndef _WIN32
|
||||
memset((s_char *)&cbuf[0], 0, 20);
|
||||
term = getenv("TERM");
|
||||
if (term == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue