summaryrefslogtreecommitdiffstats
path: root/test/getname.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-28 14:08:44 (GMT)
committerGitHub <noreply@github.com>2023-07-28 14:08:44 (GMT)
commit9ef2f993cfc7173712729fb40b34d1edae8509d9 (patch)
tree937a98f4d50cf0cca08fa105ae37589aedb8975c /test/getname.c
parentf563c2b926445f7a975553bc7742a38f42d3b6f4 (diff)
downloadhdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.zip
hdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.tar.gz
hdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.tar.bz2
Sync test dir w/ develop (#3303)
Diffstat (limited to 'test/getname.c')
-rw-r--r--test/getname.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/getname.c b/test/getname.c
index 884f213..12f85d0 100644
--- a/test/getname.c
+++ b/test/getname.c
@@ -32,7 +32,7 @@ typedef struct s1_t {
float c;
} s1_t;
-const char *FILENAME[] = {"getname", "getname1", "getname2", "getname3", NULL};
+static const char *FILENAME[] = {"getname", "getname1", "getname2", "getname3", NULL};
#define NAME_BUF_SIZE 64
#define SMALL_NAME_BUF_SIZE 2
@@ -1528,7 +1528,7 @@ test_main(hid_t file_id, hid_t fapl)
if (H5Iget_name(type_id, name, NAME_BUF_SIZE) > 0)
TEST_ERROR;
}
- H5E_END_TRY;
+ H5E_END_TRY
/* Get name for dataspace, it should fail */
H5E_BEGIN_TRY
@@ -1536,7 +1536,7 @@ test_main(hid_t file_id, hid_t fapl)
if (H5Iget_name(space_id, name, NAME_BUF_SIZE) > 0)
TEST_ERROR;
}
- H5E_END_TRY;
+ H5E_END_TRY
}
/* Close */
@@ -3077,7 +3077,7 @@ test_main(hid_t file_id, hid_t fapl)
if ((size = H5Iget_name(dtype, NULL, 0)) >= 0)
TEST_ERROR;
}
- H5E_END_TRY;
+ H5E_END_TRY
if (H5Tcommit_anon(file2_id, dtype, H5P_DEFAULT, H5P_DEFAULT))
TEST_ERROR;
@@ -3799,7 +3799,7 @@ error:
{
H5Fclose(file_id);
}
- H5E_END_TRY;
+ H5E_END_TRY
HDputs("***** GET NAME TESTS FAILED *****");