summaryrefslogtreecommitdiff
path: root/test/readonly/readonly.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2016-02-22 11:03:47 -0500
committerKeith Bostic <keith@wiredtiger.com>2016-02-22 11:03:47 -0500
commit525b9a6f3058367652d2ef70ae5e514debd85390 (patch)
treea63211f1d9746d46c27b21d4413ef9542ee0b07a /test/readonly/readonly.c
parentb27cac37d6b05157b65c07f7c85faf85f17f5f9e (diff)
downloadmongo-525b9a6f3058367652d2ef70ae5e514debd85390.tar.gz
WT-2422: multiple definitions of custom die function
Define the custom die function once per program.
Diffstat (limited to 'test/readonly/readonly.c')
-rw-r--r--test/readonly/readonly.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/readonly/readonly.c b/test/readonly/readonly.c
index 6f74ee47c5a..100ccbf81b7 100644
--- a/test/readonly/readonly.c
+++ b/test/readonly/readonly.c
@@ -158,6 +158,8 @@ open_dbs(int op, const char *dir,
extern int __wt_optind;
extern char *__wt_optarg;
+void (*custom_die)(void) = NULL;
+
int
main(int argc, char *argv[])
{