civodul pushed a commit to branch stable-2.0
in repository guile.
commit 2c5ab455c26a6386c781f62b6d732c9b29919111
Author: Ludovic Courtès <[email protected]>
Date: Mon Jul 11 11:01:16 2016 +0200
Add missing 'const' qualifier.
* libguile/stime.c (tzvar): Add 'const'.
---
libguile/stime.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libguile/stime.c b/libguile/stime.c
index aa0784d..7e6f303 100644
--- a/libguile/stime.c
+++ b/libguile/stime.c
@@ -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