diff options
author | Thomas Haller <thaller@redhat.com> | 2020-10-08 16:54:25 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-10-08 16:54:44 +0200 |
commit | d456d083f1b91215cd571d227dc7818c20b732d9 (patch) | |
tree | a01c56fb22b38571bf197cce365a4d4666c5fddf | |
parent | 5b941666e9053348d51113b2fa8dd7e62e01f1ab (diff) | |
download | NetworkManager-d456d083f1b91215cd571d227dc7818c20b732d9.tar.gz |
all: add trailing semicolon after NM_UTILS_STRING_TABLE_LOOKUP_DEFINE()
-rw-r--r-- | libnm-core/nm-setting-bond.c | 5 | ||||
-rw-r--r-- | shared/nm-glib-aux/tests/test-shared-general.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/libnm-core/nm-setting-bond.c b/libnm-core/nm-setting-bond.c index 1428ab6383..f355734bfa 100644 --- a/libnm-core/nm-setting-bond.c +++ b/libnm-core/nm-setting-bond.c @@ -224,9 +224,10 @@ static NM_UTILS_STRING_TABLE_LOOKUP_DEFINE( {NM_SETTING_BOND_OPTION_PACKETS_PER_SLAVE, ~(BIT(NM_BOND_MODE_ROUNDROBIN))}, {NM_SETTING_BOND_OPTION_PRIMARY, ~(BIT(NM_BOND_MODE_ACTIVEBACKUP) | BIT(NM_BOND_MODE_TLB) | BIT(NM_BOND_MODE_ALB))}, - {NM_SETTING_BOND_OPTION_TLB_DYNAMIC_LB, ~(BIT(NM_BOND_MODE_TLB))}, ) + {NM_SETTING_BOND_OPTION_TLB_DYNAMIC_LB, ~(BIT(NM_BOND_MODE_TLB))}, ); - gboolean _nm_setting_bond_option_supported(const char *option, NMBondMode mode) +gboolean +_nm_setting_bond_option_supported(const char *option, NMBondMode mode) { nm_assert(option); nm_assert(mode != NM_BOND_MODE_UNKNOWN); diff --git a/shared/nm-glib-aux/tests/test-shared-general.c b/shared/nm-glib-aux/tests/test-shared-general.c index 84e0a6f076..78fcd43218 100644 --- a/shared/nm-glib-aux/tests/test-shared-general.c +++ b/shared/nm-glib-aux/tests/test-shared-general.c @@ -632,9 +632,10 @@ static NM_UTILS_STRING_TABLE_LOOKUP_DEFINE( {"0", 0}, {"1", 1}, {"2", 2}, - {"3", 3}, ) + {"3", 3}, ); - static void test_string_table_lookup(void) +static void +test_string_table_lookup(void) { const char *const args[] = { NULL, |