diff options
author | Thomas Haller <thaller@redhat.com> | 2021-04-06 09:59:42 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-04-06 09:59:42 +0200 |
commit | afce313758566f2f857d7b34f697b7b436b6cd35 (patch) | |
tree | 5e5f205a3808e2093ed9d449a074dde9c7e8d82e | |
parent | e5aeb47cc1cc015ea6f55f708b1637ce26eaecfd (diff) | |
download | NetworkManager-th/dns-minor-cleanup.tar.gz |
dns: use C99 static array indexes in function parameters for compute_hash()th/dns-minor-cleanup
-rw-r--r-- | src/core/dns/nm-dns-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dns/nm-dns-manager.c b/src/core/dns/nm-dns-manager.c index 9854cb60fb..54de1e28e0 100644 --- a/src/core/dns/nm-dns-manager.c +++ b/src/core/dns/nm-dns-manager.c @@ -1107,7 +1107,7 @@ update_resolv_conf(NMDnsManager * self, } static void -compute_hash(NMDnsManager *self, const NMGlobalDnsConfig *global, guint8 buffer[HASH_LEN]) +compute_hash(NMDnsManager *self, const NMGlobalDnsConfig *global, guint8 buffer[static HASH_LEN]) { nm_auto_free_checksum GChecksum *sum = NULL; NMDnsConfigIPData * ip_data; |