diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-12-05 14:39:04 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-12-05 14:39:04 +0000 |
commit | ce6c6a4d82f03cdc14ed72964ba718ace495ee6c (patch) | |
tree | 099723897953a6e604d5653b6fc027a5192477a6 /winsup/utils | |
parent | 4c2380d396326bc76ccf4c640d91e26d48b4fe30 (diff) | |
download | cygnal-ce6c6a4d82f03cdc14ed72964ba718ace495ee6c.tar.gz cygnal-ce6c6a4d82f03cdc14ed72964ba718ace495ee6c.tar.bz2 cygnal-ce6c6a4d82f03cdc14ed72964ba718ace495ee6c.zip |
* tzmap-from-unicode.org: Create tzmap as const.
* tzmap.h: Regenerate.
Diffstat (limited to 'winsup/utils')
-rw-r--r-- | winsup/utils/ChangeLog | 5 | ||||
-rwxr-xr-x | winsup/utils/tzmap-from-unicode.org | 2 | ||||
-rw-r--r-- | winsup/utils/tzmap.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index e58273000..935173cd7 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,8 @@ +2014-12-05 Václav Zeman <vhaisman@gmail.com> + + * tzmap-from-unicode.org: Create tzmap as const. + * tzmap.h: Regenerate. + 2014-12-05 Corinna Vinschen <corinna@vinschen.de> * Makefile.in: Add rules to create and depend on tzmap.h. diff --git a/winsup/utils/tzmap-from-unicode.org b/winsup/utils/tzmap-from-unicode.org index 9e713c3b2..a155312a8 100755 --- a/winsup/utils/tzmap-from-unicode.org +++ b/winsup/utils/tzmap-from-unicode.org @@ -59,7 +59,7 @@ echo "{" echo " PCWSTR win_tzkey;" echo " PCWSTR country;" echo " PCWSTR posix_tzid;" -echo "} tzmap[] =" +echo "} const tzmap[] =" echo "{" wget -O - "${ZONES_FILE}" | \ { diff --git a/winsup/utils/tzmap.h b/winsup/utils/tzmap.h index d63d506c3..dd4f8c0e4 100644 --- a/winsup/utils/tzmap.h +++ b/winsup/utils/tzmap.h @@ -47,7 +47,7 @@ struct PCWSTR win_tzkey; PCWSTR country; PCWSTR posix_tzid; -} tzmap[] = +} const tzmap[] = { { L"AUS Central Standard Time", L"", L"Australia/Darwin" }, { L"AUS Central Standard Time", L"AU", L"Australia/Darwin" }, |