summaryrefslogtreecommitdiff
path: root/lib/krb5.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2021-09-22 00:21:03 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-09-23 12:54:35 +0200
commite75be2c4b20ced981606c1338759ac3dc6edc309 (patch)
treeb6baf0713f1d44c01c6de12b423f2b2f3b877f31 /lib/krb5.c
parentc7aef0a945f9b6fb6d3f91716a21dfe2f4ea635f (diff)
downloadcurl-e75be2c4b20ced981606c1338759ac3dc6edc309.tar.gz
cleanup: constify unmodified static structs
Constify a number of static structs that are never modified. Make them const to show this. Closes #7759
Diffstat (limited to 'lib/krb5.c')
-rw-r--r--lib/krb5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/krb5.c b/lib/krb5.c
index e25f52656..bb2930151 100644
--- a/lib/krb5.c
+++ b/lib/krb5.c
@@ -374,7 +374,7 @@ static void krb5_end(void *app_data)
}
}
-static struct Curl_sec_client_mech Curl_krb5_client_mech = {
+static const struct Curl_sec_client_mech Curl_krb5_client_mech = {
"GSSAPI",
sizeof(gss_ctx_id_t),
krb5_init,