mirror of
https://github.com/holub/mame
synced 2025-05-28 16:43:04 +03:00
3rdparty/portmidi: Another place that needs const hit by Linux.
This commit is contained in:
parent
435f04a4c5
commit
9c28c45517
2
3rdparty/portmidi/pm_common/pminternal.h
vendored
2
3rdparty/portmidi/pm_common/pminternal.h
vendored
@ -160,7 +160,7 @@ PmTimestamp none_synchronize(PmInternal *midi);
|
||||
PmError pm_fail_fn(PmInternal *midi);
|
||||
PmError pm_fail_timestamp_fn(PmInternal *midi, PmTimestamp timestamp);
|
||||
PmError pm_success_fn(PmInternal *midi);
|
||||
PmError pm_add_interf(char *interf, pm_create_fn create_fn,
|
||||
PmError pm_add_interf(const char *interf, pm_create_fn create_fn,
|
||||
pm_delete_fn delete_fn);
|
||||
PmError pm_add_device(const char *interf, const char *name, int is_input,
|
||||
int is_virtual, void *descriptor, pm_fns_type dictionary);
|
||||
|
2
3rdparty/portmidi/pm_common/portmidi.c
vendored
2
3rdparty/portmidi/pm_common/portmidi.c
vendored
@ -121,7 +121,7 @@ static int pm_interf_list_len = 0;
|
||||
* returns pmInsufficientMemor if interface memory is
|
||||
* exceeded, otherwise returns pmNoError.
|
||||
*/
|
||||
PmError pm_add_interf(char *interf, pm_create_fn create_fn,
|
||||
PmError pm_add_interf(const char *interf, pm_create_fn create_fn,
|
||||
pm_delete_fn delete_fn)
|
||||
{
|
||||
if (pm_interf_list_len >= MAX_INTERF) {
|
||||
|
Loading…
Reference in New Issue
Block a user