summaryrefslogtreecommitdiffhomepage
path: root/networking/traceroute.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-11-30 14:58:02 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-11-30 14:58:02 +0100
commit6cc4962b60d451e918e338ccca98afda99f49f6e (patch)
treeaf98468492c063ea74d53307678786339447cb5e /networking/traceroute.c
parent965b795b87c59ed45cc7f16a62301dbae65b1627 (diff)
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/traceroute.c')
-rw-r--r--networking/traceroute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/traceroute.c b/networking/traceroute.c
index 34d2a09dd..7dde10524 100644
--- a/networking/traceroute.c
+++ b/networking/traceroute.c
@@ -536,7 +536,7 @@ send_probe(int seq, int ttl)
static const char *
pr_type(unsigned char t)
{
- static const char *const ttab[] = {
+ static const char *const ttab[] ALIGN_PTR = {
"Echo Reply", "ICMP 1", "ICMP 2", "Dest Unreachable",
"Source Quench", "Redirect", "ICMP 6", "ICMP 7",
"Echo", "Router Advert", "Router Solicit", "Time Exceeded",
@@ -544,7 +544,7 @@ pr_type(unsigned char t)
"Info Reply", "Mask Request", "Mask Reply"
};
# if ENABLE_TRACEROUTE6
- static const char *const ttab6[] = {
+ static const char *const ttab6[] ALIGN_PTR = {
[0] = "Error", "Dest Unreachable", "Packet Too Big", "Time Exceeded",
[4] = "Param Problem",
[8] = "Echo Request", "Echo Reply", "Membership Query", "Membership Report",