Portability fixes: don't declare library functions, include
appropriate headers. Also remove some unused declarations.
This commit is contained in:
parent
56dce5a8c4
commit
4ce5f988d0
13 changed files with 19 additions and 156 deletions
|
@ -33,6 +33,7 @@
|
|||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "misc.h"
|
||||
|
||||
|
@ -65,7 +66,6 @@ void
|
|||
getsose()
|
||||
{
|
||||
#ifndef _WIN32
|
||||
extern s_char *getenv();
|
||||
extern s_char *tgetstr();
|
||||
#endif
|
||||
static s_char tbuf[1024];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue