[Top][All Lists]

[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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]