From 1dbaf90cdbd90d2f1b9bcc6599e9698f716c5943 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Thu, 15 Sep 1994 19:46:03 +0000 Subject: 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). --- sys/isofs/cd9660/cd9660_rrip.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/isofs/cd9660/cd9660_rrip.c') diff --git a/sys/isofs/cd9660/cd9660_rrip.c b/sys/isofs/cd9660/cd9660_rrip.c index 78410a54f239..4ba2fa636ee4 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 +#include #include #include #include @@ -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); -- cgit v1.2.3