diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-02-05 15:35:05 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-02-05 15:35:05 +0100 |
commit | 2f14263c404568a5e79c043f23d74a7650826cdf (patch) | |
tree | fec14fe989f9cd9ede3f652ae58aa147bc083dd2 /networking/udhcp/dhcpc.h | |
parent | 3dbc5a9742f38f6f8ae5867ae628200a6d0fc825 (diff) | |
download | busybox-w32-2f14263c404568a5e79c043f23d74a7650826cdf.tar.gz busybox-w32-2f14263c404568a5e79c043f23d74a7650826cdf.tar.bz2 busybox-w32-2f14263c404568a5e79c043f23d74a7650826cdf.zip |
udhcp[cd]: fix aliasing warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/dhcpc.h')
-rw-r--r-- | networking/udhcp/dhcpc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h index 9bb1ac2af..dfab2368c 100644 --- a/networking/udhcp/dhcpc.h +++ b/networking/udhcp/dhcpc.h | |||
@@ -19,7 +19,7 @@ struct client_config_t { | |||
19 | uint8_t *vendorclass; /* Optional vendor class-id to use */ | 19 | uint8_t *vendorclass; /* Optional vendor class-id to use */ |
20 | uint8_t *hostname; /* Optional hostname to use */ | 20 | uint8_t *hostname; /* Optional hostname to use */ |
21 | uint8_t *fqdn; /* Optional fully qualified domain name to use */ | 21 | uint8_t *fqdn; /* Optional fully qualified domain name to use */ |
22 | }; | 22 | } FIX_ALIASING; |
23 | 23 | ||
24 | /* server_config sits in 1st half of bb_common_bufsiz1 */ | 24 | /* server_config sits in 1st half of bb_common_bufsiz1 */ |
25 | #define client_config (*(struct client_config_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE / 2])) | 25 | #define client_config (*(struct client_config_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE / 2])) |