summaryrefslogtreecommitdiff
path: root/sys/msdosfs/fat.h
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2004-05-12 21:04:16 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2004-05-12 21:04:16 +0000
commit5d0f121d2d06d5c7589586b66d76520be871b59e (patch)
treeeab961f439da6b689ac39777fb98119ff60b8994 /sys/msdosfs/fat.h
parentec1f4fc688d987c44082155eb8f93034a01f5f05 (diff)
32 bit ints are uint32_t, not u_long. works on 64bit now. ok deraadt@
Diffstat (limited to 'sys/msdosfs/fat.h')
-rw-r--r--sys/msdosfs/fat.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/msdosfs/fat.h b/sys/msdosfs/fat.h
index 7cb959a8b22..be37e2f96db 100644
--- a/sys/msdosfs/fat.h
+++ b/sys/msdosfs/fat.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fat.h,v 1.5 2002/03/14 01:27:09 millert Exp $ */
+/* $OpenBSD: fat.h,v 1.6 2004/05/12 21:04:15 tedu Exp $ */
/* $NetBSD: fat.h,v 1.11 1997/10/17 11:23:49 ws Exp $ */
/*-
@@ -97,13 +97,13 @@
*/
#define DE_CLEAR 1 /* Zero out the blocks allocated */
-int pcbmap(struct denode *, u_long, daddr_t *, u_long *, int *);
-int clusterfree(struct msdosfsmount *, u_long, u_long *);
-int clusteralloc(struct msdosfsmount *, u_long, u_long, u_long, u_long *, u_long *);
-int extendfile(struct denode *, u_long, struct buf **, u_long *, int);
-int fatentry(int, struct msdosfsmount *, u_long, u_long *, u_long);
+int pcbmap(struct denode *, uint32_t, daddr_t *, uint32_t *, int *);
+int clusterfree(struct msdosfsmount *, uint32_t, uint32_t *);
+int clusteralloc(struct msdosfsmount *, uint32_t, uint32_t, uint32_t, uint32_t *, uint32_t *);
+int extendfile(struct denode *, uint32_t, struct buf **, uint32_t *, int);
+int fatentry(int, struct msdosfsmount *, uint32_t, uint32_t *, uint32_t);
void fc_purge(struct denode *, u_int);
-void fc_lookup(struct denode *, u_long, u_long *, u_long *);
+void fc_lookup(struct denode *, uint32_t, uint32_t *, uint32_t *);
int fillinusemap(struct msdosfsmount *);
-int freeclusterchain(struct msdosfsmount *, u_long);
+int freeclusterchain(struct msdosfsmount *, uint32_t);
#endif /* _KERNEL */