tcp_wrappers: remove duplicate errno declarations
This commit is contained in:
parent
7d636a4d3e
commit
9b6a8ee28d
@ -46,8 +46,6 @@ static char sccsid[] = "@(#) hosts_access.c 1.21 97/02/12 02:13:22";
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
|
||||
extern int errno;
|
||||
|
||||
#ifndef INADDR_NONE
|
||||
#define INADDR_NONE (-1) /* XXX should be 0xffffffff */
|
||||
#endif
|
||||
|
@ -12,7 +12,6 @@ static char sccsid[] = "@(#) percent_m.c 1.1 94/12/28 17:42:37";
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
extern int errno;
|
||||
#ifndef SYS_ERRLIST_DEFINED
|
||||
extern char *sys_errlist[];
|
||||
extern int sys_nerr;
|
||||
|
@ -30,7 +30,6 @@ static char sccsid[] = "@(#) tli-sequent.c 1.1 94/12/28 17:42:51";
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
extern int errno;
|
||||
extern char *sys_errlist[];
|
||||
extern int sys_nerr;
|
||||
extern int t_errno;
|
||||
|
@ -41,7 +41,6 @@ static char sccsid[] = "@(#) tli.c 1.15 97/03/21 19:27:25";
|
||||
#include <string.h>
|
||||
|
||||
extern char *nc_sperror();
|
||||
extern int errno;
|
||||
extern char *sys_errlist[];
|
||||
extern int sys_nerr;
|
||||
extern int t_errno;
|
||||
|
@ -27,8 +27,6 @@ char sccsid[] = "@(#) workarounds.c 1.6 96/03/19 16:22:25";
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
extern int errno;
|
||||
|
||||
#include "tcpd.h"
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user