From 8cab66730aa59c121eb98b20f4ae7ddda1c3ecf6 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 20 Apr 2012 14:48:00 +0200 Subject: fix build breakage found by randconfig Signed-off-by: Denys Vlasenko --- networking/udhcp/d6_common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'networking/udhcp/d6_common.h') diff --git a/networking/udhcp/d6_common.h b/networking/udhcp/d6_common.h index 4dd7e621e..eb211ea0f 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 -- cgit v1.2.3