Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa Files to build ffsv1 and ffsv2 versions of ufs.c
details: https://anonhg.NetBSD.org/src/rev/67d5a62bd46a
branches: trunk
changeset: 545587:67d5a62bd46a
user: dsl <dsl%NetBSD.org@localhost>
date: Fri Apr 11 11:28:54 2003 +0000
description:
Files to build ffsv1 and ffsv2 versions of ufs.c
diffstat:
sys/lib/libsa/ffsv1.c | 15 +++++++++++++++
sys/lib/libsa/ffsv2.c | 15 +++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)
diffs (38 lines):
diff -r 36b49022271f -r 67d5a62bd46a sys/lib/libsa/ffsv1.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/lib/libsa/ffsv1.c Fri Apr 11 11:28:54 2003 +0000
@@ -0,0 +1,15 @@
+/* $NetBSD: ffsv1.c,v 1.1 2003/04/11 11:28:54 dsl Exp $ */
+
+#define LIBSA_FFSv1
+
+#define ufs_open ffsv1_open
+#define ufs_close ffsv1_close
+#define ufs_read ffsv1_read
+#define ufs_write ffsv1_write
+#define ufs_seek ffsv1_seek
+#define ufs_stat ffsv1_stat
+
+#define ufs_dinode ufs1_dinode
+#define indp_t uint32_t
+
+#include "ufs.c"
diff -r 36b49022271f -r 67d5a62bd46a sys/lib/libsa/ffsv2.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/lib/libsa/ffsv2.c Fri Apr 11 11:28:54 2003 +0000
@@ -0,0 +1,15 @@
+/* $NetBSD: ffsv2.c,v 1.1 2003/04/11 11:28:55 dsl Exp $ */
+
+#define LIBSA_FFSv2
+
+#define ufs_open ffsv2_open
+#define ufs_close ffsv2_close
+#define ufs_read ffsv2_read
+#define ufs_write ffsv2_write
+#define ufs_seek ffsv2_seek
+#define ufs_stat ffsv2_stat
+
+#define ufs_dinode ufs2_dinode
+#define indp_t uint64_t
+
+#include "ufs.c"
Home |
Main Index |
Thread Index |
Old Index