cleanup: constify unmodified static structs

Constify a number of static structs that are never modified. Make them
const to show this.

Closes #7759
This commit is contained in:
Rikard Falkeborn 2021-09-22 00:21:03 +02:00 committed by Daniel Stenberg
parent c7aef0a945
commit e75be2c4b2
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
10 changed files with 20 additions and 20 deletions

View file

@ -3180,7 +3180,7 @@ CURLMcode curl_multi_socket_all(struct Curl_multi *multi, int *running_handles)
static CURLMcode multi_timeout(struct Curl_multi *multi,
long *timeout_ms)
{
static struct curltime tv_zero = {0, 0};
static const struct curltime tv_zero = {0, 0};
if(multi->timetree) {
/* we have a tree of expire times */