Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/fs/puffs put stuff requiring -lpuffs behind -DPUFFSDUMP
details: https://anonhg.NetBSD.org/src/rev/204ad90ab1a3
branches: trunk
changeset: 756325:204ad90ab1a3
user: pooka <pooka%NetBSD.org@localhost>
date: Mon Jul 12 13:09:19 2010 +0000
description:
put stuff requiring -lpuffs behind -DPUFFSDUMP
diffstat:
tests/fs/puffs/Makefile | 6 ++++--
tests/fs/puffs/t_basic.c | 4 +++-
2 files changed, 7 insertions(+), 3 deletions(-)
diffs (45 lines):
diff -r b37d41cae10b -r 204ad90ab1a3 tests/fs/puffs/Makefile
--- a/tests/fs/puffs/Makefile Mon Jul 12 12:01:53 2010 +0000
+++ b/tests/fs/puffs/Makefile Mon Jul 12 13:09:19 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2010/07/11 12:33:38 pooka Exp $
+# $NetBSD: Makefile,v 1.8 2010/07/12 13:09:19 pooka Exp $
#
.include <bsd.own.mk>
@@ -14,7 +14,9 @@
LDADD+= -lrumpnet_local -lrumpnet_net -lrumpnet
LDADD+= -lrumpvfs
LDADD+= -lrump -lrumpuser -lpthread
-LDADD+= -lpuffs -lutil
+
+# required by -DPUFFSDUMP
+#LDADD+= -lpuffs -lutil
WARNS=2
diff -r b37d41cae10b -r 204ad90ab1a3 tests/fs/puffs/t_basic.c
--- a/tests/fs/puffs/t_basic.c Mon Jul 12 12:01:53 2010 +0000
+++ b/tests/fs/puffs/t_basic.c Mon Jul 12 13:09:19 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_basic.c,v 1.5 2010/07/11 12:33:38 pooka Exp $ */
+/* $NetBSD: t_basic.c,v 1.6 2010/07/12 13:09:19 pooka Exp $ */
#include <sys/types.h>
#include <sys/mount.h>
@@ -57,6 +57,7 @@
rump_sys_statvfs1(fs, &svb, ST_WAIT);
}
+#ifdef PUFFSDUMP
static void __unused
dumpopcount(void)
{
@@ -74,6 +75,7 @@
puffsdump_vnop_revmap[i], vn_toserv_ops[i]);
}
}
+#endif
/*
* Threads which shovel data between comfd and /dev/puffs.
Home |
Main Index |
Thread Index |
Old Index