Fix errno usage and add DragonFly support
Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
parent
89151996c6
commit
0a67b18647
10 changed files with 18 additions and 31 deletions
|
|
@ -98,7 +98,6 @@ extern char *proto_name;
|
|||
extern int port_number;
|
||||
#endif
|
||||
extern int max_client;
|
||||
extern int errno;
|
||||
|
||||
static int fd_inet = -1;
|
||||
static int fd_unix = -1;
|
||||
|
|
|
|||
|
|
@ -53,8 +53,6 @@
|
|||
#define SJIS_PROTO 1
|
||||
#define EUC_PROTO 2
|
||||
|
||||
extern int errno;
|
||||
|
||||
extern Global *work_base;
|
||||
extern STDY *stdy_base;
|
||||
extern int serv_errno;
|
||||
|
|
@ -82,7 +80,6 @@ static Client *cur_cli;
|
|||
static Uchar defaultchar[2] = {(Uchar)0x81, (Uchar)0x40};
|
||||
static int defuse=0, defuse2=0;
|
||||
|
||||
char *malloc();
|
||||
DictFile *opendict();
|
||||
int closedict();
|
||||
StdyFile *openstdy();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue