summaryrefslogtreecommitdiffstats
path: root/test/ntypes.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2021-03-26 23:16:38 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2021-03-26 23:16:38 (GMT)
commit0a73f3dd4b33abbd3ea9b024442e40ae05e56549 (patch)
tree4d4b5db05bca88459dc333cd3da57e0816419370 /test/ntypes.c
parent0011a5e758c2efa386fbeaa81553852c90c48e86 (diff)
downloadhdf5-0a73f3dd4b33abbd3ea9b024442e40ae05e56549.zip
hdf5-0a73f3dd4b33abbd3ea9b024442e40ae05e56549.tar.gz
hdf5-0a73f3dd4b33abbd3ea9b024442e40ae05e56549.tar.bz2
Fixed 1.6 compatibility issues and ran source formatter
Diffstat (limited to 'test/ntypes.c')
-rw-r--r--test/ntypes.c21
1 files changed, 13 insertions, 8 deletions
diff --git a/test/ntypes.c b/test/ntypes.c
index fc69382..0235c60 100644
--- a/test/ntypes.c
+++ b/test/ntypes.c
@@ -1993,14 +1993,19 @@ error:
static herr_t
test_vlstr_dtype(hid_t file)
{
- const char *wdata[SPACE1_DIM1] = {
- "Four score and seven years ago our forefathers brought forth on this continent a new nation,",
- "conceived in liberty and dedicated to the proposition that all men are created equal.",
- "Now we are engaged in a great civil war,",
- "testing whether that nation or any nation so conceived and so dedicated can long endure."}; /* Information
- to
- write
- */
+ const char
+ *
+ wdata[SPACE1_DIM1] =
+ {
+ "Four score and seven years ago our forefathers brought forth on this continent a new "
+ "nation,",
+ "conceived in liberty and dedicated to the proposition that all men are created equal.",
+ "Now we are engaged in a great civil war,",
+ "testing whether that nation or any nation so conceived and so dedicated can long "
+ "endure."}; /* Information
+ to
+ write
+ */
char * rdata[SPACE1_DIM1]; /* Information read in */
hbool_t rdata_alloc = FALSE; /* Whether the read data is allocated */
hid_t dataset = -1; /* Dataset ID */