summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko2007-05-17 12:58:30 +0000
committerDenis Vlasenko2007-05-17 12:58:30 +0000
commitd46e6d1a55f1182b8aa2d621a2532bad3bc20ee9 (patch)
treecc859edcef407b063d8e7a2c76cf0fe74465cb5a /networking
parenta35958d4ad20dff88ac0db6f9d73a00fc2d89e14 (diff)
downloadbusybox-d46e6d1a55f1182b8aa2d621a2532bad3bc20ee9.zip
busybox-d46e6d1a55f1182b8aa2d621a2532bad3bc20ee9.tar.gz
fix trivial compile errors found by randomconfig run
Diffstat (limited to 'networking')
-rw-r--r--networking/ip.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/networking/ip.c b/networking/ip.c
index dd1d863..c7816c8 100644
--- a/networking/ip.c
+++ b/networking/ip.c
@@ -18,6 +18,12 @@
#include "libiproute/utils.h"
#include "libiproute/ip_common.h"
+#if ENABLE_FEATURE_IP_ADDRESS \
+ || ENABLE_FEATURE_IP_ROUTE \
+ || ENABLE_FEATURE_IP_LINK \
+ || ENABLE_FEATURE_IP_TUNNEL \
+ || ENABLE_FEATURE_IP_RULE
+
static int ATTRIBUTE_NORETURN ip_print_help(int ATTRIBUTE_UNUSED ac, char ATTRIBUTE_UNUSED **av)
{
bb_show_usage();
@@ -121,3 +127,5 @@ int ip_main(int argc, char **argv)
}
return (ip_func(argc, argv));
}
+
+#endif /* any of ENABLE_FEATURE_IP_xxx is 1 */