From 953b49ed1301bc695c44c9981bc3739c4f60a6af Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 27 May 2010 13:43:44 +0000 Subject: 2010-05-27 Tristan Gingold * 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/vms.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bfd/vms.h') diff --git a/bfd/vms.h b/bfd/vms.h index 762c8b5..c95487d 100644 --- a/bfd/vms.h +++ b/bfd/vms.h @@ -115,6 +115,9 @@ extern char * vms_get_module_name (const char *, bfd_boolean); extern unsigned char *get_vms_time_string (void); extern time_t vms_time_to_time_t (unsigned int hi, unsigned int lo); extern time_t vms_rawtime_to_time_t (unsigned char *); +extern void vms_time_t_to_vms_time (time_t ut, unsigned int *hi, unsigned int *lo); +extern void vms_get_time (unsigned int *hi, unsigned int *lo); +extern void vms_raw_get_time (unsigned char *buf); extern char * _bfd_vms_save_sized_string (unsigned char *, int); extern char * _bfd_vms_save_counted_string (unsigned char *); -- cgit v1.1