diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-08-20 13:33:50 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-08-20 13:38:16 +0200 |
| commit | 29b53ef03fc7ddd3ba27898d77a900a2f184aa0d (patch) | |
| tree | e8a32418ead7c5a0e90e9b42b3f5bb555a368a79 | |
| parent | 9d286a0a556fe13be46b7b526035706afdd063f4 (diff) | |
| download | busybox-w32-29b53ef03fc7ddd3ba27898d77a900a2f184aa0d.tar.gz busybox-w32-29b53ef03fc7ddd3ba27898d77a900a2f184aa0d.tar.bz2 busybox-w32-29b53ef03fc7ddd3ba27898d77a900a2f184aa0d.zip | |
udhcp: fix build breakage on MIPS
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| -rw-r--r-- | networking/udhcp/common.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index 8c678dd32..ca778dab8 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h | |||
| @@ -304,18 +304,6 @@ void udhcp_dump_packet(struct dhcp_packet *packet) FAST_FUNC; | |||
| 304 | # define log3s(msg) ((void)0) | 304 | # define log3s(msg) ((void)0) |
| 305 | #endif | 305 | #endif |
| 306 | 306 | ||
| 307 | #if defined(__mips__) | ||
| 308 | /* | ||
| 309 | * The 'simple' message functions have a negative impact on the size of the | ||
| 310 | * DHCP code when compiled for MIPS, so don't use them in this case. | ||
| 311 | */ | ||
| 312 | #define bb_simple_info_msg bb_info_msg | ||
| 313 | #define bb_simple_error_msg bb_error_msg | ||
| 314 | #define bb_simple_perror_msg_and_die bb_perror_msg_and_die | ||
| 315 | #undef log1s | ||
| 316 | #define log1s log1 | ||
| 317 | #endif | ||
| 318 | |||
| 319 | /*** Other shared functions ***/ | 307 | /*** Other shared functions ***/ |
| 320 | 308 | ||
| 321 | /* 2nd param is "uint32_t*" */ | 309 | /* 2nd param is "uint32_t*" */ |
