2010-05-27 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Thu, 27 May 2010 13:43:44 +0000 (13:43 +0000)
committerTristan Gingold <gingold@adacore.com>
Thu, 27 May 2010 13:43:44 +0000 (13:43 +0000)
commit953b49ed1301bc695c44c9981bc3739c4f60a6af
tree9fed5560ed19299d8fe69bcc6f7e88d7dd92f582
parentc3a6ea62fc4464995f8f62c41676b2eda161967e
2010-05-27  Tristan Gingold  <gingold@adacore.com>

* vms-misc.c: Define __NEW_STARLET.  Remove trailing spaces.
(VMS_TIME_FACTOR, VMS_TIME_OFFSET): New macros.
(vms_time_to_time_t): Use them instead of local const.
(vms_time_t_to_vms_time): New function.
(vms_get_time): Likewise.
(vms_raw_get_time): Likewise.
* vms.h (vms_time_t_to_vms_time): New declaration.
(vms_get_time): Likewise.
(vms_raw_get_time): Likewise.
bfd/ChangeLog
bfd/vms-misc.c
bfd/vms.h