summaryrefslogtreecommitdiffstats
path: root/test/getname.c
diff options
context:
space:
mode:
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 *****");