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 /miscutils/i2c_tools.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 'miscutils/i2c_tools.c')
-rw-r--r-- | miscutils/i2c_tools.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/i2c_tools.c b/miscutils/i2c_tools.c index 09364e396..57cac5d47 100644 --- a/miscutils/i2c_tools.c +++ b/miscutils/i2c_tools.c | |||
@@ -1052,7 +1052,7 @@ struct adap_desc { | |||
1052 | const char *algo; | 1052 | const char *algo; |
1053 | }; | 1053 | }; |
1054 | 1054 | ||
1055 | static const struct adap_desc adap_descs[] = { | 1055 | static const struct adap_desc adap_descs[] ALIGN_PTR = { |
1056 | { .funcs = "dummy", .algo = "Dummy bus", }, | 1056 | { .funcs = "dummy", .algo = "Dummy bus", }, |
1057 | { .funcs = "isa", .algo = "ISA bus", }, | 1057 | { .funcs = "isa", .algo = "ISA bus", }, |
1058 | { .funcs = "i2c", .algo = "I2C adapter", }, | 1058 | { .funcs = "i2c", .algo = "I2C adapter", }, |
@@ -1064,7 +1064,7 @@ struct i2c_func { | |||
1064 | const char* name; | 1064 | const char* name; |
1065 | }; | 1065 | }; |
1066 | 1066 | ||
1067 | static const struct i2c_func i2c_funcs_tab[] = { | 1067 | static const struct i2c_func i2c_funcs_tab[] ALIGN_PTR = { |
1068 | { .value = I2C_FUNC_I2C, | 1068 | { .value = I2C_FUNC_I2C, |
1069 | .name = "I2C" }, | 1069 | .name = "I2C" }, |
1070 | { .value = I2C_FUNC_SMBUS_QUICK, | 1070 | { .value = I2C_FUNC_SMBUS_QUICK, |