From a28b32aa45e5f4ce9d2bc85a840884336dd87f27 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 15 Dec 2004 02:32:04 +0000 Subject: Make some arrays of pointers const, too. --- lib/security.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/security.c') diff --git a/lib/security.c b/lib/security.c index f34729b55..64c55b3ba 100644 --- a/lib/security.c +++ b/lib/security.c @@ -85,7 +85,7 @@ name_to_level(const char *name) return (enum protection_level)-1; } -static const struct Curl_sec_client_mech *mechs[] = { +static const struct Curl_sec_client_mech * const mechs[] = { #ifdef KRB5 /* not supported */ #endif @@ -400,7 +400,7 @@ int Curl_sec_login(struct connectdata *conn) { int ret; - const struct Curl_sec_client_mech **m; + const struct Curl_sec_client_mech * const *m; ssize_t nread; struct SessionHandle *data=conn->data; int ftpcode; -- cgit v1.2.3