From 6cc4962b60d451e918e338ccca98afda99f49f6e Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 30 Nov 2020 14:58:02 +0100 Subject: 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 --- networking/nslookup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'networking/nslookup.c') 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 { static const struct { unsigned char type; char name[7]; -} qtypes[] = { +} qtypes[] ALIGN1 = { { ns_t_soa, "SOA" }, { ns_t_ns, "NS" }, { ns_t_a, "A" }, @@ -288,7 +288,7 @@ static const struct { { ns_t_any, "ANY" }, }; -static const char *const rcodes[] = { +static const char *const rcodes[] ALIGN_PTR = { "NOERROR", // 0 "FORMERR", // 1 "SERVFAIL", // 2 -- cgit v1.2.3