Windows cleanup: include proper headers, remove unused variables, fix

type of signal handler.  Mostly from Ron Koenderink.
This commit is contained in:
Markus Armbruster 2004-02-16 17:44:38 +00:00
parent cc5d78c2f0
commit 7dbb87b0e0
6 changed files with 13 additions and 15 deletions

View file

@ -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) {