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
|
@ -42,6 +42,9 @@
|
|||
#include "ioqueue.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#ifndef _WIN32
|
||||
#include <pwd.h>
|
||||
#endif
|
||||
|
@ -98,7 +101,6 @@ s_char *av[];
|
|||
SECURITY_ATTRIBUTES security;
|
||||
void intr(void);
|
||||
#endif
|
||||
extern s_char *getenv();
|
||||
extern s_char empireport[];
|
||||
extern s_char empirehost[];
|
||||
fd_set mask;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue