summaryrefslogtreecommitdiff
path: root/test/cursor_order
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/cursor_order
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/cursor_order')
-rw-r--r--test/cursor_order/cursor_order.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cursor_order/cursor_order.c b/test/cursor_order/cursor_order.c
index 14709a2e88e..68d2f092c60 100644
--- a/test/cursor_order/cursor_order.c
+++ b/test/cursor_order/cursor_order.c
@@ -43,6 +43,8 @@ static void wt_shutdown(SHARED_CONFIG *);
extern int __wt_optind;
extern char *__wt_optarg;
+void (*custom_die)(void) = NULL;
+
int
main(int argc, char *argv[])
{