1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-29 14:30:34 +02:00

Add missing 'const' qualifier.

* libguile/stime.c (tzvar): Add 'const'.
This commit is contained in:
Ludovic Courtès 2016-07-11 11:01:16 +02:00 committed by Andy Wingo
parent abb0b54be8
commit b505ad9ad3

View file

@ -327,7 +327,7 @@ filltime (struct tm *bd_time, int zoff, const char *zname)
return result;
}
static char tzvar[3] = "TZ";
static const char tzvar[3] = "TZ";
/* if zone is set, create a temporary environment with only a TZ
string. other threads or interrupt handlers shouldn't be allowed