summaryrefslogtreecommitdiffstats
path: root/test/set_extent.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-09-15 22:13:18 (GMT)
committerGitHub <noreply@github.com>2023-09-15 22:13:18 (GMT)
commit44a00ef876ad3e1922847e93feac57c479217fbe (patch)
tree5e9fc677913a06a71eba1342633f92e93bd07a6c /test/set_extent.c
parent59a90368cdb696205bdf15040d1a48b4f69af97f (diff)
downloadhdf5-44a00ef876ad3e1922847e93feac57c479217fbe.zip
hdf5-44a00ef876ad3e1922847e93feac57c479217fbe.tar.gz
hdf5-44a00ef876ad3e1922847e93feac57c479217fbe.tar.bz2
Strip HD prefix from string/char C API calls (#3540)
* Strip HD prefix from string/char C API calls * HD(f)(put|get)(s|c) * HDstr* * HDv*printf * HD(s)(print|scan)f * HDperror But NOT: * HDstrcase* * HDvasprintf * HDstrtok_r * HDstrndup As those are not C99 and have portability work-around implementations. They will be handled later. * Fix th5_system.c screwup
Diffstat (limited to 'test/set_extent.c')
-rw-r--r--test/set_extent.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/set_extent.c b/test/set_extent.c
index 7b7bcbd..08b96a5 100644
--- a/test/set_extent.c
+++ b/test/set_extent.c
@@ -117,7 +117,7 @@ main(void)
if (env_h5_drvr == NULL)
env_h5_drvr = "nomatch";
/* Current VFD that does not support contiguous address space */
- contig_addr_vfd = (bool)(HDstrcmp(env_h5_drvr, "split") != 0 && HDstrcmp(env_h5_drvr, "multi") != 0);
+ contig_addr_vfd = (bool)(strcmp(env_h5_drvr, "split") != 0 && strcmp(env_h5_drvr, "multi") != 0);
/* Initialize random number seed */
HDsrandom((unsigned)HDtime(NULL));
@@ -155,11 +155,11 @@ main(void)
/* Set the FAPL for the chunk cache settings */
if (chunk_cache) {
- HDputs(" and chunk cache enabled:");
+ puts(" and chunk cache enabled:");
my_fapl = fapl;
} /* end if */
else {
- HDputs(" and chunk cache disabled:");
+ puts(" and chunk cache disabled:");
my_fapl = fapl2;
} /* end else */
@@ -209,7 +209,7 @@ main(void)
if (nerrors)
goto error;
- HDputs("All H5Dset_extent tests passed.");
+ puts("All H5Dset_extent tests passed.");
return 0;