summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2021-04-06 09:59:42 +0200
committerThomas Haller <thaller@redhat.com>2021-04-06 09:59:42 +0200
commitafce313758566f2f857d7b34f697b7b436b6cd35 (patch)
tree5e5f205a3808e2093ed9d449a074dde9c7e8d82e
parente5aeb47cc1cc015ea6f55f708b1637ce26eaecfd (diff)
downloadNetworkManager-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.c2
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;