mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-14 06:59:57 -05:00
Fix build with c++ compilers
This commit is contained in:
parent
2aeb5d9d98
commit
a813afd810
4 changed files with 16 additions and 10 deletions
|
|
@ -317,7 +317,7 @@ const struct spa_support *pw_get_support(uint32_t *n_support)
|
|||
void *pw_load_spa_interface(const char *lib, const char *factory_name, uint32_t type,
|
||||
const struct spa_dict *info,
|
||||
uint32_t n_support,
|
||||
struct spa_support support[n_support])
|
||||
struct spa_support support[])
|
||||
{
|
||||
struct support *sup = &global_support;
|
||||
struct spa_support extra_support[MAX_SUPPORT];
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ pw_get_support_interface(uint32_t type);
|
|||
void *pw_load_spa_interface(const char *lib, const char *factory_name, uint32_t type,
|
||||
const struct spa_dict *info,
|
||||
uint32_t n_support,
|
||||
struct spa_support support[n_support]);
|
||||
struct spa_support support[]);
|
||||
|
||||
void *pw_load_spa_dbus_interface(struct pw_loop *loop);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue