ipfilter: remove duplicate definition of 'thishost'
thishost is already defined in lib/initparse.c; no need for this one. This fixes the ipfilter build with -fno-common. -fno-common will become the default in GCC10/LLVM11. MFC after: 3 days
This commit is contained in:
parent
4014b4a7a4
commit
0690ee732a
@ -191,7 +191,7 @@ typedef int (* addfunc_t) __P((int, ioctlfunc_t, void *));
|
|||||||
typedef int (* copyfunc_t) __P((void *, void *, size_t));
|
typedef int (* copyfunc_t) __P((void *, void *, size_t));
|
||||||
|
|
||||||
|
|
||||||
extern char thishost[];
|
extern char thishost[MAXHOSTNAMELEN];
|
||||||
extern char flagset[];
|
extern char flagset[];
|
||||||
extern u_char flags[];
|
extern u_char flags[];
|
||||||
extern struct ipopt_names ionames[];
|
extern struct ipopt_names ionames[];
|
||||||
|
@ -60,7 +60,6 @@ static const char rcsid[] = "@(#)$Id$";
|
|||||||
#define bzero(a,b) memset(a,0,b)
|
#define bzero(a,b) memset(a,0,b)
|
||||||
#endif
|
#endif
|
||||||
int use_inet6 = 0;
|
int use_inet6 = 0;
|
||||||
char thishost[MAXHOSTNAMELEN];
|
|
||||||
|
|
||||||
extern char *optarg;
|
extern char *optarg;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user