diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-11-30 14:58:02 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-11-30 14:58:02 +0100 |
commit | 6cc4962b60d451e918e338ccca98afda99f49f6e (patch) | |
tree | af98468492c063ea74d53307678786339447cb5e /networking/nslookup.c | |
parent | 965b795b87c59ed45cc7f16a62301dbae65b1627 (diff) | |
download | busybox-w32-6cc4962b60d451e918e338ccca98afda99f49f6e.tar.gz busybox-w32-6cc4962b60d451e918e338ccca98afda99f49f6e.tar.bz2 busybox-w32-6cc4962b60d451e918e338ccca98afda99f49f6e.zip |
decrease padding: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly
text data bss dec hex filename
1021236 559 5052 1026847 fab1f busybox_old
1021120 559 5052 1026731 faaab busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/nslookup.c')
-rw-r--r-- | networking/nslookup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/nslookup.c b/networking/nslookup.c index 759de5c83..dda22de0e 100644 --- a/networking/nslookup.c +++ b/networking/nslookup.c | |||
@@ -273,7 +273,7 @@ struct query { | |||
273 | static const struct { | 273 | static const struct { |
274 | unsigned char type; | 274 | unsigned char type; |
275 | char name[7]; | 275 | char name[7]; |
276 | } qtypes[] = { | 276 | } qtypes[] ALIGN1 = { |
277 | { ns_t_soa, "SOA" }, | 277 | { ns_t_soa, "SOA" }, |
278 | { ns_t_ns, "NS" }, | 278 | { ns_t_ns, "NS" }, |
279 | { ns_t_a, "A" }, | 279 | { ns_t_a, "A" }, |
@@ -288,7 +288,7 @@ static const struct { | |||
288 | { ns_t_any, "ANY" }, | 288 | { ns_t_any, "ANY" }, |
289 | }; | 289 | }; |
290 | 290 | ||
291 | static const char *const rcodes[] = { | 291 | static const char *const rcodes[] ALIGN_PTR = { |
292 | "NOERROR", // 0 | 292 | "NOERROR", // 0 |
293 | "FORMERR", // 1 | 293 | "FORMERR", // 1 |
294 | "SERVFAIL", // 2 | 294 | "SERVFAIL", // 2 |