diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2022-02-06 19:53:10 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-02-06 19:53:10 +0100 |
commit | ca466f385ac985a8b3491daa9f326dc480cdee70 (patch) | |
tree | 2d0635c1a295f02e354d9a6b94c70d1d3d64ddb0 /networking/interface.c | |
parent | 4f40735c87f8292a87c066b3b7099b0be007cf59 (diff) | |
download | busybox-w32-ca466f385ac985a8b3491daa9f326dc480cdee70.tar.gz busybox-w32-ca466f385ac985a8b3491daa9f326dc480cdee70.tar.bz2 busybox-w32-ca466f385ac985a8b3491daa9f326dc480cdee70.zip |
*: slap on a few ALIGN* where appropriate
The result of looking at "grep -F -B2 '*fill*' busybox_unstripped.map"
function old new delta
.rodata 108586 108460 -126
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-126) Total: -126 bytes
text data bss dec hex filename
970412 4219 1848 976479 ee65f busybox_old
970286 4219 1848 976353 ee5e1 busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/interface.c')
-rw-r--r-- | networking/interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/interface.c b/networking/interface.c index ea6a2c8a8..6b6c0944a 100644 --- a/networking/interface.c +++ b/networking/interface.c | |||
@@ -446,13 +446,13 @@ static char *get_name(char name[IFNAMSIZ], char *p) | |||
446 | * %n specifiers (even the size of integers may not match). | 446 | * %n specifiers (even the size of integers may not match). |
447 | */ | 447 | */ |
448 | #if INT_MAX == LONG_MAX | 448 | #if INT_MAX == LONG_MAX |
449 | static const char *const ss_fmt[] = { | 449 | static const char *const ss_fmt[] ALIGN_PTR = { |
450 | "%n%llu%u%u%u%u%n%n%n%llu%u%u%u%u%u", | 450 | "%n%llu%u%u%u%u%n%n%n%llu%u%u%u%u%u", |
451 | "%llu%llu%u%u%u%u%n%n%llu%llu%u%u%u%u%u", | 451 | "%llu%llu%u%u%u%u%n%n%llu%llu%u%u%u%u%u", |
452 | "%llu%llu%u%u%u%u%u%u%llu%llu%u%u%u%u%u%u" | 452 | "%llu%llu%u%u%u%u%u%u%llu%llu%u%u%u%u%u%u" |
453 | }; | 453 | }; |
454 | #else | 454 | #else |
455 | static const char *const ss_fmt[] = { | 455 | static const char *const ss_fmt[] ALIGN_PTR = { |
456 | "%n%llu%lu%lu%lu%lu%n%n%n%llu%lu%lu%lu%lu%lu", | 456 | "%n%llu%lu%lu%lu%lu%n%n%n%llu%lu%lu%lu%lu%lu", |
457 | "%llu%llu%lu%lu%lu%lu%n%n%llu%llu%lu%lu%lu%lu%lu", | 457 | "%llu%llu%lu%lu%lu%lu%n%n%llu%llu%lu%lu%lu%lu%lu", |
458 | "%llu%llu%lu%lu%lu%lu%lu%lu%llu%llu%lu%lu%lu%lu%lu%lu" | 458 | "%llu%llu%lu%lu%lu%lu%lu%lu%llu%llu%lu%lu%lu%lu%lu%lu" |
@@ -731,7 +731,7 @@ static const struct hwtype ib_hwtype = { | |||
731 | #endif | 731 | #endif |
732 | 732 | ||
733 | 733 | ||
734 | static const struct hwtype *const hwtypes[] = { | 734 | static const struct hwtype *const hwtypes[] ALIGN_PTR = { |
735 | &loop_hwtype, | 735 | &loop_hwtype, |
736 | ðer_hwtype, | 736 | ðer_hwtype, |
737 | &ppp_hwtype, | 737 | &ppp_hwtype, |