aboutsummaryrefslogtreecommitdiff
path: root/sys/isofs/cd9660/cd9660_rrip.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1994-09-15 19:46:03 +0000
committerBruce Evans <bde@FreeBSD.org>1994-09-15 19:46:03 +0000
commit1dbaf90cdbd90d2f1b9bcc6599e9698f716c5943 (patch)
treec3150fd7aa74cfe6417d8ec490b828977b8c1971 /sys/isofs/cd9660/cd9660_rrip.c
parent9095be3705c60ec77e62c6884fd1a89f08978fcd (diff)
downloadsrc-1dbaf90cdbd90d2f1b9bcc6599e9698f716c5943.tar.gz
src-1dbaf90cdbd90d2f1b9bcc6599e9698f716c5943.zip
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).
Notes
Notes: svn path=/head/; revision=2806
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 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 <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);