aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-03-05 17:46:17 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-03-05 17:46:17 +0100
commit82ec89480d524a219ad027d1f7c5aa42cc6373d5 (patch)
treead36e295337e149aa170b0d241a0b441d828dd3e /include
parent8a5299fcfd54ae3b895b66249d6d105e956192cb (diff)
downloadbusybox-82ec89480d524a219ad027d1f7c5aa42cc6373d5.tar.gz
networking/interface.c: get rid of global "smallint interface_opt_a"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index f1ab1ca6f..fa878433e 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