summaryrefslogtreecommitdiff
path: root/networking/udhcp/d6_common.h
diff options
context:
space:
mode:
authorDenys Vlasenko2012-04-20 14:48:00 +0200
committerDenys Vlasenko2012-04-20 14:48:00 +0200
commit8cab66730aa59c121eb98b20f4ae7ddda1c3ecf6 (patch)
treec85481105e66d3d7f2b0bf712028fb5f02138215 /networking/udhcp/d6_common.h
parentb110e1fecb4398524e857d772c5cc635615b0ac4 (diff)
downloadbusybox-8cab66730aa59c121eb98b20f4ae7ddda1c3ecf6.zip
busybox-8cab66730aa59c121eb98b20f4ae7ddda1c3ecf6.tar.gz
fix build breakage found by randconfig
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/d6_common.h')
-rw-r--r--networking/udhcp/d6_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/networking/udhcp/d6_common.h b/networking/udhcp/d6_common.h
index 4dd7e62..eb211ea 100644
--- a/networking/udhcp/d6_common.h
+++ b/networking/udhcp/d6_common.h
@@ -115,7 +115,11 @@ int FAST_FUNC d6_send_kernel_packet(
struct in6_addr *dst_ipv6, int dest_port
);
+#if defined CONFIG_UDHCP_DEBUG && CONFIG_UDHCP_DEBUG >= 2
void FAST_FUNC d6_dump_packet(struct d6_packet *packet);
+#else
+# define d6_dump_packet(packet) ((void)0)
+#endif
POP_SAVED_FUNCTION_VISIBILITY