make this compile with -DSTATISTICS

This commit is contained in:
christos 2007-02-03 23:46:40 +00:00
parent cb9daf8f10
commit 016db3548e
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: dbtest.c,v 1.12 2007/02/03 23:04:04 christos Exp $ */
/* $NetBSD: dbtest.c,v 1.13 2007/02/03 23:46:40 christos Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
@ -40,7 +40,7 @@ __COPYRIGHT(
#if 0
static char sccsid[] = "@(#)dbtest.c 8.17 (Berkeley) 9/1/94";
#else
__RCSID("$NetBSD: dbtest.c,v 1.12 2007/02/03 23:04:04 christos Exp $");
__RCSID("$NetBSD: dbtest.c,v 1.13 2007/02/03 23:46:40 christos Exp $");
#endif
#endif /* not lint */
@ -79,6 +79,10 @@ static void chkcmd(enum S);
static void chkdata(enum S);
static void chkkey(enum S);
#ifdef STATISTICS
extern void __bt_stat(DB *);
#endif
static DBTYPE type; /* Database type. */
static void *infop; /* Iflags. */
static size_t lineno; /* Current line in test script. */