summaryrefslogtreecommitdiffstats
path: root/src/H5dbg.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 /src/H5dbg.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 'src/H5dbg.c')
-rw-r--r--src/H5dbg.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5dbg.c b/src/H5dbg.c
index 69afd01..7a3dfaa 100644
--- a/src/H5dbg.c
+++ b/src/H5dbg.c
@@ -102,30 +102,30 @@ H5_buffer_dump(FILE *stream, int indent, const uint8_t *buf, const uint8_t *mark
fprintf(stream, " ");
if (7 == v)
- HDfputc(' ', stream);
+ fputc(' ', stream);
} /* end for */
- HDfputc(' ', stream);
+ fputc(' ', stream);
/* Print the character values */
for (v = 0; v < 16; v++) {
if (u + v < buf_size) {
if (marker[u + v])
- HDfputc(' ', stream);
+ fputc(' ', stream);
else {
c = buf[buf_offset + u + v];
if (isprint(c))
- HDfputc(c, stream);
+ fputc(c, stream);
else
- HDfputc('.', stream);
+ fputc('.', stream);
} /* end else */
} /* end if */
if (7 == v)
- HDfputc(' ', stream);
+ fputc(' ', stream);
} /* end for */
- HDfputc('\n', stream);
+ fputc('\n', stream);
} /* end for */
FUNC_LEAVE_NOAPI(SUCCEED)