# HG changeset patch # User Paul Eggert # Date 1437862302 25200 # Node ID 29e0bb74097dc594f9753b1b47bd3eb396cd21a4 # Parent a1744ab6ea8e7c61d5a16fe93b44c620313de337 time_rz: make a constant 'const' * lib/time_rz.c (local_tz): Now const. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2015-07-25 Paul Eggert + time_rz: make a constant 'const' + * lib/time_rz.c (local_tz): Now const. + time_rz: fix off-by-one typo * lib/time_rz.c (extend_abbrs): Fix off-by-one typo. diff --git a/lib/time_rz.c b/lib/time_rz.c --- a/lib/time_rz.c +++ b/lib/time_rz.c @@ -75,7 +75,7 @@ /* Magic cookie timezone_t value, for local time. It differs from NULL and from all other timezone_t values. Only the address matters; the pointer is never dereferenced. */ -static timezone_t local_tz = (timezone_t) 1; +static timezone_t const local_tz = (timezone_t) 1; #if HAVE_TM_ZONE || HAVE_TZNAME