summaryrefslogtreecommitdiffstats
path: root/utils/mirror_vfd/mirror_remote.h
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2022-02-21 21:32:29 (GMT)
committerGitHub <noreply@github.com>2022-02-21 21:32:29 (GMT)
commit3107fafa2ce858b598617463334d3d6d01dc1e4c (patch)
tree68e4cafcbbd96fa35dfd4a66a55078509e928c7b /utils/mirror_vfd/mirror_remote.h
parentc302773438a4db0b56d32eaf9cf8a92b56848c0a (diff)
downloadhdf5-3107fafa2ce858b598617463334d3d6d01dc1e4c.zip
hdf5-3107fafa2ce858b598617463334d3d6d01dc1e4c.tar.gz
hdf5-3107fafa2ce858b598617463334d3d6d01dc1e4c.tar.bz2
Oess 168 utils mirror vfd (#1444)
* Committing clang-format changes * Spelling of preceed was corrected to proceed, but should have been corrected to precede. * Correct spelling correction of 'preceed' incorrectly to 'proceed'. It should be 'precede'. * OESS-168: Remove clang warnings. * OESS-168: Address @lrknox and @gnuoyd reviews. * Eliminate clang warnings listed in PR #1310 without adding new ssize_t variables. * Committing clang-format changes * Add H5_ATTR_UNUSED to wait_for_child call. Remove unneeded casts in mirror_log calls. * Keep ssize_t in mirror_server.c line 479. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Hyo-Kyung Lee <hyoklee@hdfgroup.org>
Diffstat (limited to 'utils/mirror_vfd/mirror_remote.h')
-rw-r--r--utils/mirror_vfd/mirror_remote.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mirror_vfd/mirror_remote.h b/utils/mirror_vfd/mirror_remote.h
index 6f37b0b..9415f7f 100644
--- a/utils/mirror_vfd/mirror_remote.h
+++ b/utils/mirror_vfd/mirror_remote.h
@@ -42,7 +42,7 @@ typedef struct mirror_log_info {
void mirror_log(loginfo_t *info, unsigned int level, const char *format, ...);
void mirror_log_bytes(loginfo_t *info, unsigned int level, size_t n_bytes, const unsigned char *buf);
-loginfo_t *mirror_log_init(char *path, char *prefix, unsigned int verbosity);
+loginfo_t *mirror_log_init(char *path, const char *prefix, unsigned int verbosity);
int mirror_log_term(loginfo_t *loginfo);
herr_t run_writer(int socketfd, H5FD_mirror_xmit_open_t *xmit_open);