From cd050e3deac5c264f5caa2d6c67947e78f2750d4 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Thu, 19 Dec 2019 10:42:56 -0600 Subject: Correct variable declaration. --- test/cache.c | 1 - test/cache_common.c | 1 + test/cache_common.h | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cache.c b/test/cache.c index 4f61917..13db4e9 100644 --- a/test/cache.c +++ b/test/cache.c @@ -49,7 +49,6 @@ hid_t saved_fcpl_id = H5P_DEFAULT; /* store the fcpl id here between hid_t saved_fid = -1; /* store the file id here between cache setup * and takedown. */ -hbool_t write_permitted = TRUE; hbool_t try_core_file_driver = FALSE; hbool_t core_file_driver_failed = FALSE; hbool_t skip_long_tests; diff --git a/test/cache_common.c b/test/cache_common.c index bd3ffd6..76019a1 100644 --- a/test/cache_common.c +++ b/test/cache_common.c @@ -20,6 +20,7 @@ #include "H5private.h" /* Put this first, so H5open() isn't invoked in public macros */ #include "cache_common.h" +hbool_t write_permitted = TRUE; hbool_t pass = TRUE; /* set to false on error */ const char *failure_mssg = NULL; diff --git a/test/cache_common.h b/test/cache_common.h index 2d8f09c..c9252fb 100644 --- a/test/cache_common.h +++ b/test/cache_common.h @@ -476,6 +476,7 @@ struct expected_entry_status /* global variable externs: */ +extern hbool_t write_permitted; extern hbool_t pass; /* set to false on error */ extern const char *failure_mssg; -- cgit v0.12