From ff7cd6f9250b352450bf811a1cc7bca75cc4e2b3 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 15 Jun 2008 09:58:53 +0000 Subject: [PATCH] use USE_FEATURE_UDHCP_PORT instead of ifdef --- networking/udhcp/dhcpc.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 */ -- 2.25.1