[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 03/27: Add missing 'const' qualifier.
From: |
Andy Wingo |
Subject: |
[Guile-commits] 03/27: Add missing 'const' qualifier. |
Date: |
Mon, 25 Jul 2016 09:53:45 +0000 (UTC) |
wingo pushed a commit to branch master
in repository guile.
commit b505ad9ad335de453e0ebcbd4e63e866e09092b0
Author: Ludovic Courtès <address@hidden>
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 232ec6f..d8c8251 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
- [Guile-commits] branch master updated (867316f -> d2684fe), Andy Wingo, 2016/07/25
- [Guile-commits] 01/27: build: Remove unneeded check for 'unsetenv'., Andy Wingo, 2016/07/25
- [Guile-commits] 02/27: Unconditionally include <time.h> from Gnulib., Andy Wingo, 2016/07/25
- [Guile-commits] 09/27: Ignore meta/build-env, Andy Wingo, 2016/07/25
- [Guile-commits] 03/27: Add missing 'const' qualifier.,
Andy Wingo <=
- [Guile-commits] 05/27: Provide `kill' only if supported by the host, Andy Wingo, 2016/07/25
- [Guile-commits] 27/27: Avoid compilation warnings about alloca in read.c, Andy Wingo, 2016/07/25
- [Guile-commits] 04/27: More robust setuid, setgid, etc detection, Andy Wingo, 2016/07/25
- [Guile-commits] 17/27: doc: Do not gender the programmer., Andy Wingo, 2016/07/25
- [Guile-commits] 24/27: Use non-deprecated HAVE_STRUCT_TM_TM_ZONE, Andy Wingo, 2016/07/25
- [Guile-commits] 07/27: More specific status:exit-val et al compilation guards, Andy Wingo, 2016/07/25
- [Guile-commits] 12/27: Add popen feature, Andy Wingo, 2016/07/25
- [Guile-commits] 10/27: Rename win32-uname.[ch] to posix-w32.[ch], Andy Wingo, 2016/07/25
- [Guile-commits] 16/27: Update uname implementation in posix-w32, Andy Wingo, 2016/07/25
- [Guile-commits] 22/27: Gnulib: Add dirname-lgpl., Andy Wingo, 2016/07/25