Fix errno usage and add DragonFly support

Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
Jörg Sonnenberger 2005-12-02 22:57:32 +00:00 committed by Masanori Ogino
commit 0a67b18647
10 changed files with 18 additions and 31 deletions

View file

@ -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;

View file

@ -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();