summaryrefslogtreecommitdiff
path: root/sys/ufs/ext2fs/ext2fs.h
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-05-26 18:33:18 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-05-26 18:33:18 +0000
commitd9540446d8c186c4d28cf77e40a931e771e4eff9 (patch)
treed2c175566022f7d928a9345dccda179bf10932bc /sys/ufs/ext2fs/ext2fs.h
parentc0955d2b195c0e0a7cfb66ef79790c295c30432b (diff)
fiddle with some type names. change most instances of ufs_daddr_t to
ufs1_daddr_t, a few to daddr_t. ufs_daddr_t typedef is retained, but consider it deprecated. no functional changes. inspired by freebsd. ok art@
Diffstat (limited to 'sys/ufs/ext2fs/ext2fs.h')
-rw-r--r--sys/ufs/ext2fs/ext2fs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ext2fs/ext2fs.h b/sys/ufs/ext2fs/ext2fs.h
index fa70ec75dc0..d2960a4f017 100644
--- a/sys/ufs/ext2fs/ext2fs.h
+++ b/sys/ufs/ext2fs/ext2fs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs.h,v 1.7 2002/07/29 04:01:09 fgsch Exp $ */
+/* $OpenBSD: ext2fs.h,v 1.8 2003/05/26 18:33:16 tedu Exp $ */
/* $NetBSD: ext2fs.h,v 1.10 2000/01/28 16:00:23 bouyer Exp $ */
/*
@@ -59,8 +59,8 @@
#define SBSIZE 1024
#define BBOFF ((off_t)(0))
#define SBOFF ((off_t)(BBOFF + BBSIZE))
-#define BBLOCK ((ufs_daddr_t)(0))
-#define SBLOCK ((ufs_daddr_t)(BBLOCK + BBSIZE / DEV_BSIZE))
+#define BBLOCK ((ufs1_daddr_t)(0))
+#define SBLOCK ((ufs1_daddr_t)(BBLOCK + BBSIZE / DEV_BSIZE))
/*
* Addresses stored in inodes are capable of addressing blocks