From 82ec89480d524a219ad027d1f7c5aa42cc6373d5 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 5 Mar 2018 17:46:17 +0100 Subject: networking/interface.c: get rid of global "smallint interface_opt_a" Signed-off-by: Denys Vlasenko --- include/libbb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index f1ab1ca..fa87843 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -1367,7 +1367,7 @@ struct hwtype { int FAST_FUNC (*activate)(int fd); int suppress_null_addr; }; -extern smallint interface_opt_a; +#define IFNAME_SHOW_DOWNED_TOO ((char*)(intptr_t)1) int display_interfaces(char *ifname) FAST_FUNC; int in_ether(const char *bufp, struct sockaddr *sap) FAST_FUNC; #if ENABLE_FEATURE_HWIB -- cgit v1.1