diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2021-11-18 22:56:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-18 22:56:32 (GMT) |
commit | 56ba9da70b2028384cc5c0afe3a44439b2df49de (patch) | |
tree | d4283d7c72a3298dae8d70eaffa64d098c55a826 /src/H5ESpublic.h | |
parent | cae59a0f1113964c3d5adcd4e278cbcc66ffcf0d (diff) | |
download | hdf5-56ba9da70b2028384cc5c0afe3a44439b2df49de.zip hdf5-56ba9da70b2028384cc5c0afe3a44439b2df49de.tar.gz hdf5-56ba9da70b2028384cc5c0afe3a44439b2df49de.tar.bz2 |
Fixes const warnings in H5ES package (#1211)
Diffstat (limited to 'src/H5ESpublic.h')
-rw-r--r-- | src/H5ESpublic.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5ESpublic.h b/src/H5ESpublic.h index 4cf71c5..c8696b3 100644 --- a/src/H5ESpublic.h +++ b/src/H5ESpublic.h @@ -51,13 +51,13 @@ typedef enum H5ES_status_t { /* Information about operations in an event set */ typedef struct H5ES_op_info_t { /* API call info */ - char *api_name; /* Name of HDF5 API routine called */ - char *api_args; /* "Argument string" for arguments to HDF5 API routine called */ + const char *api_name; /* Name of HDF5 API routine called */ + char * api_args; /* "Argument string" for arguments to HDF5 API routine called */ /* Application info */ - char * app_file_name; /* Name of source file where the HDF5 API routine was called */ - char * app_func_name; /* Name of function where the HDF5 API routine was called */ - unsigned app_line_num; /* Line # of source file where the HDF5 API routine was called */ + const char *app_file_name; /* Name of source file where the HDF5 API routine was called */ + const char *app_func_name; /* Name of function where the HDF5 API routine was called */ + unsigned app_line_num; /* Line # of source file where the HDF5 API routine was called */ /* Operation info */ uint64_t op_ins_count; /* Counter of operation's insertion into event set */ |