aboutsummaryrefslogtreecommitdiff
path: root/bfd/vms.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2010-05-27 13:43:44 +0000
committerTristan Gingold <gingold@adacore.com>2010-05-27 13:43:44 +0000
commit953b49ed1301bc695c44c9981bc3739c4f60a6af (patch)
tree9fed5560ed19299d8fe69bcc6f7e88d7dd92f582 /bfd/vms.h
parentc3a6ea62fc4464995f8f62c41676b2eda161967e (diff)
downloadfsf-binutils-gdb-953b49ed1301bc695c44c9981bc3739c4f60a6af.zip
fsf-binutils-gdb-953b49ed1301bc695c44c9981bc3739c4f60a6af.tar.gz
fsf-binutils-gdb-953b49ed1301bc695c44c9981bc3739c4f60a6af.tar.bz2
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.
Diffstat (limited to 'bfd/vms.h')
-rw-r--r--bfd/vms.h3
1 files changed, 3 insertions, 0 deletions
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 *);