Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/fs/puffs reinstate #ifdef PUFFSDUMP around otherwise u...



details:   https://anonhg.NetBSD.org/src/rev/680d03a60e08
branches:  trunk
changeset: 763794:680d03a60e08
user:      plunky <plunky%NetBSD.org@localhost>
date:      Mon Apr 04 15:42:42 2011 +0000

description:
reinstate #ifdef PUFFSDUMP around otherwise unused function
which requires symbols from -lpuffs, not linked

diffstat:

 tests/fs/puffs/t_basic.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r cbd59b8e8b0c -r 680d03a60e08 tests/fs/puffs/t_basic.c
--- a/tests/fs/puffs/t_basic.c  Mon Apr 04 15:13:08 2011 +0000
+++ b/tests/fs/puffs/t_basic.c  Mon Apr 04 15:42:42 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_basic.c,v 1.10 2011/02/10 20:10:54 pooka Exp $       */
+/*     $NetBSD: t_basic.c,v 1.11 2011/04/04 15:42:42 plunky Exp $      */
 
 #include <sys/types.h>
 #include <sys/mount.h>
@@ -39,6 +39,7 @@
                atf_tc_fail_errno("statvfs");
 }
 
+#ifdef PUFFSDUMP
 static void __unused
 dumpopcount(struct puffstestargs *args)
 {
@@ -56,6 +57,7 @@
                    puffsdump_vnop_revmap[i], args->pta_vn_toserv_ops[i]);
        }
 }
+#endif
 
 ATF_TC(mount);
 ATF_TC_HEAD(mount, tc)



Home | Main Index | Thread Index | Old Index