From f65c41fbce1bb94ae77de42903a45d2330d9ea08 Mon Sep 17 00:00:00 2001 From: Sanheiii <35133371+Sanheiii@users.noreply.github.com> Date: Thu, 7 Nov 2024 11:18:06 +0800 Subject: [PATCH] Add missing const --- hooklib/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooklib/dns.c b/hooklib/dns.c index 45bef78..c3b95fb 100644 --- a/hooklib/dns.c +++ b/hooklib/dns.c @@ -151,7 +151,7 @@ static const struct hook_symbol dns_hook_syms_dnsapi[] = { } }; -static struct hook_symbol dns_hook_syms_ws2[] = { +static const struct hook_symbol dns_hook_syms_ws2[] = { { .name = "getaddrinfo", .ordinal = 176,