summaryrefslogtreecommitdiffstats
path: root/sys/isofs/cd9660/cd9660_rrip.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-09-15 19:46:03 +0000
committerbde <bde@FreeBSD.org>1994-09-15 19:46:03 +0000
commit1bfaf25b30ba76f2f7d7cec0cd52127fdf3b4ffb (patch)
treec3150fd7aa74cfe6417d8ec490b828977b8c1971 /sys/isofs/cd9660/cd9660_rrip.c
parent019579bbf98ca36993865b913cb8d08f468c4c54 (diff)
downloadFreeBSD-src-1bfaf25b30ba76f2f7d7cec0cd52127fdf3b4ffb.zip
FreeBSD-src-1bfaf25b30ba76f2f7d7cec0cd52127fdf3b4ffb.tar.gz
Obtained from:
Remove the unnecessary inclusion of disklabel.h in cd9660_vfsops.c so that I don't have to worry about the latter when changing disklabel.h. Supply prototypes for some functions that were implicitly declared and fix the resulting warnings and errors (timevals were punned to timespecs).
Diffstat (limited to 'sys/isofs/cd9660/cd9660_rrip.c')
-rw-r--r--sys/isofs/cd9660/cd9660_rrip.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/isofs/cd9660/cd9660_rrip.c b/sys/isofs/cd9660/cd9660_rrip.c
index 78410a5..4ba2fa6 100644
--- a/sys/isofs/cd9660/cd9660_rrip.c
+++ b/sys/isofs/cd9660/cd9660_rrip.c
@@ -36,10 +36,11 @@
* SUCH DAMAGE.
*
* @(#)cd9660_rrip.c 8.2 (Berkeley) 1/23/94
- * $Id: cd9660_rrip.c,v 1.2 1994/08/02 07:41:26 davidg Exp $
+ * $Id: cd9660_rrip.c,v 1.3 1994/09/09 11:10:58 dfr Exp $
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/namei.h>
#include <sys/buf.h>
#include <sys/file.h>
@@ -325,7 +326,7 @@ cd9660_rrip_tstamp(p,ana)
cd9660_tstamp_conv7(ptime,&ana->inop->inode.iso_mtime);
ptime += 7;
} else
- bzero(&ana->inop->inode.iso_mtime,sizeof(struct timeval));
+ bzero(&ana->inop->inode.iso_mtime,sizeof(struct timespec));
if (*p->flags&ISO_SUSP_TSTAMP_ACCESS) {
cd9660_tstamp_conv7(ptime,&ana->inop->inode.iso_atime);
@@ -346,7 +347,7 @@ cd9660_rrip_tstamp(p,ana)
cd9660_tstamp_conv17(ptime,&ana->inop->inode.iso_mtime);
ptime += 17;
} else
- bzero(&ana->inop->inode.iso_mtime,sizeof(struct timeval));
+ bzero(&ana->inop->inode.iso_mtime,sizeof(struct timespec));
if (*p->flags&ISO_SUSP_TSTAMP_ACCESS) {
cd9660_tstamp_conv17(ptime,&ana->inop->inode.iso_atime);
OpenPOWER on IntegriCloud