summaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpc.h
diff options
context:
space:
mode:
authorDenis Vlasenko2007-09-30 17:55:43 +0000
committerDenis Vlasenko2007-09-30 17:55:43 +0000
commitdeabacdf91c6d1c3cfcdb4cd06780807193de81d (patch)
tree546e3aac68a3d6388a518f0bb8c5a64b6570f158 /networking/udhcp/dhcpc.h
parentd7b3350eb3eb8d906702db2d845196bab8c98e6e (diff)
downloadbusybox-deabacdf91c6d1c3cfcdb4cd06780807193de81d.zip
busybox-deabacdf91c6d1c3cfcdb4cd06780807193de81d.tar.gz
move udhcp_{client/server}_config to common_bufsiz1
udhcp_run_script 1108 1151 +43 init_packet 209 210 +1 udhcpc_main 2395 2393 -2 udhcp_client_config 56 - -56 udhcp_server_config 88 - -88 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 2/1 up/down: 44/-146) Total: -102 bytes text data bss dec hex filename 771326 1029 9696 782051 beee3 busybox_old 771383 1029 9552 781964 bee8c busybox_unstripped
Diffstat (limited to 'networking/udhcp/dhcpc.h')
-rw-r--r--networking/udhcp/dhcpc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h
index 20f4e52..8da1dd8 100644
--- a/networking/udhcp/dhcpc.h
+++ b/networking/udhcp/dhcpc.h
@@ -33,7 +33,7 @@ struct client_config_t {
uint8_t arp[6]; /* Our arp address */
};
-extern struct client_config_t client_config;
+#define client_config (*(struct client_config_t*)&bb_common_bufsiz1)
/*** clientpacket.h ***/