summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-08-09 22:34:36 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-08-09 22:34:36 +0000
commit50bf587dfc41e6f6eedbc07895ac74ffc4046a5a (patch)
tree962fec77ba4352a4258c43312c4274fd187fb37b /gnu
parent366e2682bad865c40a9af91cb16f7486217ee587 (diff)
Store timestamps in time_t
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils-2.17/bfd/bfd.c2
-rw-r--r--gnu/usr.bin/binutils/bfd/bfd.c11
2 files changed, 6 insertions, 7 deletions
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 `<<bfd.h>>', 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 `<<bfd.h>>', 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;