diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-19 16:42:56 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-12-19 16:43:07 (GMT) |
commit | cd050e3deac5c264f5caa2d6c67947e78f2750d4 (patch) | |
tree | 09e0dd9c4167e6df289464784ba54a06e68d01e4 /test | |
parent | 99431f8f857969033a6ecdcd23220068f5411c6e (diff) | |
download | hdf5-cd050e3deac5c264f5caa2d6c67947e78f2750d4.zip hdf5-cd050e3deac5c264f5caa2d6c67947e78f2750d4.tar.gz hdf5-cd050e3deac5c264f5caa2d6c67947e78f2750d4.tar.bz2 |
Correct variable declaration.
Diffstat (limited to 'test')
-rw-r--r-- | test/cache.c | 1 | ||||
-rw-r--r-- | test/cache_common.c | 1 | ||||
-rw-r--r-- | test/cache_common.h | 1 |
3 files changed, 2 insertions, 1 deletions
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; |