mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
const correctness
This commit is contained in:
parent
424b6be97f
commit
dbc4b7f81d
2 changed files with 3 additions and 3 deletions
|
@ -1347,7 +1347,7 @@ void fluid_dump_linked_mod(fluid_mod_t *mod, int mod_idx, int offset)
|
|||
* - 0 if no linked path exists.
|
||||
*/
|
||||
static int
|
||||
fluid_mod_check_linked_mod_LOCAL(char *list_name, fluid_mod_t *list_mod,
|
||||
fluid_mod_check_linked_mod_LOCAL(const char *list_name, fluid_mod_t *list_mod,
|
||||
int dest_idx)
|
||||
{
|
||||
int linked_count = 0; /* number of linked modulators */
|
||||
|
@ -1668,7 +1668,7 @@ fluid_mod_copy_linked_mod(const fluid_mod_t *list_mod, int dest_idx, int new_idx
|
|||
* See test_modulator_links.c.
|
||||
*/
|
||||
int
|
||||
fluid_mod_check_linked_mod(char *list_name,
|
||||
fluid_mod_check_linked_mod(const char *list_name,
|
||||
fluid_mod_t *list_mod, int mod_count,
|
||||
fluid_mod_t **linked_mod, int linked_count)
|
||||
{
|
||||
|
|
|
@ -112,7 +112,7 @@ enum fluid_path_flags
|
|||
FLUID_PATH_CURRENT = (1 << 2)
|
||||
};
|
||||
|
||||
int fluid_mod_check_linked_mod(char *list_name,
|
||||
int fluid_mod_check_linked_mod(const char *list_name,
|
||||
fluid_mod_t *list_mod, int mod_count,
|
||||
fluid_mod_t **linked_mod, int linked_count);
|
||||
|
||||
|
|
Loading…
Reference in a new issue