From: Denis Vlasenko Date: Sun, 15 Jun 2008 09:58:53 +0000 (-0000) Subject: use USE_FEATURE_UDHCP_PORT instead of ifdef X-Git-Tag: 1_11_0~59 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ff7cd6f9250b352450bf811a1cc7bca75cc4e2b3;p=oweals%2Fbusybox.git use USE_FEATURE_UDHCP_PORT instead of ifdef --- diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h index 1ebccd405..04e320cf0 100644 --- a/networking/udhcp/dhcpc.h +++ b/networking/udhcp/dhcpc.h @@ -13,9 +13,7 @@ struct client_config_t { /* TODO: combine flag fields into single "unsigned opt" */ /* (can be set directly to the result of getopt32) */ char no_default_options; /* Do not include default optins in request */ -#if ENABLE_FEATURE_UDHCP_PORT - uint16_t port; -#endif + USE_FEATURE_UDHCP_PORT(uint16_t port;) int ifindex; /* Index number of the interface to use */ uint8_t opt_mask[256 / 8]; /* Bitmask of options to send (-O option) */ const char *interface; /* The name of the interface to use */