svn commit: trunk/busybox/networking/udhcp

vda at busybox.net vda at busybox.net
Sun Jun 15 09:58:55 UTC 2008


Author: vda
Date: 2008-06-15 02:58:53 -0700 (Sun, 15 Jun 2008)
New Revision: 22349

Log:
use USE_FEATURE_UDHCP_PORT instead of ifdef



Modified:
   trunk/busybox/networking/udhcp/dhcpc.h


Changeset:
Modified: trunk/busybox/networking/udhcp/dhcpc.h
===================================================================
--- trunk/busybox/networking/udhcp/dhcpc.h	2008-06-15 09:49:21 UTC (rev 22348)
+++ trunk/busybox/networking/udhcp/dhcpc.h	2008-06-15 09:58:53 UTC (rev 22349)
@@ -13,9 +13,7 @@
 	/* 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 */




More information about the busybox-cvs mailing list