From 50bf587dfc41e6f6eedbc07895ac74ffc4046a5a Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sat, 9 Aug 2014 22:34:36 +0000 Subject: Store timestamps in time_t --- gnu/usr.bin/binutils-2.17/bfd/bfd.c | 2 +- gnu/usr.bin/binutils/bfd/bfd.c | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'gnu') diff --git a/gnu/usr.bin/binutils-2.17/bfd/bfd.c b/gnu/usr.bin/binutils-2.17/bfd/bfd.c index 733f6ee0272..9d849ec57d4 100644 --- a/gnu/usr.bin/binutils-2.17/bfd/bfd.c +++ b/gnu/usr.bin/binutils-2.17/bfd/bfd.c @@ -75,7 +75,7 @@ CODE_FRAGMENT . bfd_boolean mtime_set; . . {* File modified time, if mtime_set is TRUE. *} -. long mtime; +. time_t mtime; . . {* Reserved for an unimplemented file locking extension. *} . int ifd; diff --git a/gnu/usr.bin/binutils/bfd/bfd.c b/gnu/usr.bin/binutils/bfd/bfd.c index 59e22aaed8d..28c12167950 100644 --- a/gnu/usr.bin/binutils/bfd/bfd.c +++ b/gnu/usr.bin/binutils/bfd/bfd.c @@ -46,11 +46,10 @@ CODE_FRAGMENT . const struct bfd_target *xvec; . . {* To avoid dragging too many header files into every file that -. includes `<>', IOSTREAM has been declared as a "char *", -. and MTIME as a "long". Their correct types, to which they -. are cast when used, are "FILE *" and "time_t". The iostream -. is the result of an fopen on the filename. However, if the -. BFD_IN_MEMORY flag is set, then iostream is actually a pointer +. includes `<>', IOSTREAM has been declared as a "void *". +. Its correct type, to which it's cast when used, is "FILE *". The +. iostream is the result of an fopen on the filename. However, if +. the BFD_IN_MEMORY flag is set, then iostream is actually a pointer . to a bfd_in_memory struct. *} . void *iostream; . @@ -79,7 +78,7 @@ CODE_FRAGMENT . bfd_boolean mtime_set; . . {* File modified time, if mtime_set is TRUE. *} -. long mtime; +. time_t mtime; . . {* Reserved for an unimplemented file locking extension. *} . int ifd; -- cgit v1.2.3