Skip to content

Commit

Permalink
const1
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisHeimbigner committed Sep 8, 2024
1 parent 8931d80 commit 7e2aad6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libhdf5/hdf5plugins.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ static int NC4_hdf5_plugin_path_write(void* state, size_t ndirs, char** const di
/**************************************************/
/* The HDF5 Plugin Path Dispatch table and functions */

const NC_PluginPathDispatch NC4_hdf5_pluginpathtable = {
NC_PluginPathDispatch NC4_hdf5_pluginpathtable = {
NC_FORMATX_NC_HDF5,
NC_PLUGINPATH_DISPATCH_VERSION,
NC4_hdf5_plugin_path_initialize,
Expand Down
6 changes: 3 additions & 3 deletions libnczarr/zplugins.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static int NCZ_plugin_save(GlobalNCZarr* gz, size_t filterid, NCZ_Plugin* p);
static int getentries(const char* path, NClist* contents);
static int loadcodecdefaults(GlobalNCZarr* gz, const char* path, const NCZ_codec_t** cp, NCPSharedLib* lib, int* lib_usedp);

#ifdef NAMEOPT
#if defined NAMEOPT || defined _WIN32
static int pluginnamecheck(const char* name);
#endif

Expand All @@ -59,7 +59,7 @@ static int pluginnamecheck(const char* name);

/**************************************************/
/* The NCZarr Plugin Path Dispatch table and functions */
const NC_PluginPathDispatch NCZ_pluginpathtable = {
NC_PluginPathDispatch NCZ_pluginpathtable = {
NC_FORMATX_NCZARR,
NC_PLUGINPATH_DISPATCH_VERSION,
NCZ_plugin_path_initialize,
Expand Down Expand Up @@ -669,7 +669,7 @@ loadcodecdefaults(GlobalNCZarr* gz, const char* path, const NCZ_codec_t** cp, NC
return THROW(stat);
}

#ifdef NAMEOPT
#if defined NAMEOPT || defined _WIN32
static int
pluginnamecheck(const char* name)
{
Expand Down

0 comments on commit 7e2aad6

Please sign in to comment.