use SPA_EXPORT to export symbols

This commit is contained in:
Wim Taymans 2019-02-06 13:24:41 +01:00
parent a563050797
commit 569cbb48a9
52 changed files with 326 additions and 24 deletions

View file

@ -62,6 +62,7 @@ static const struct pw_module_events module_events = {
.destroy = module_destroy,
};
SPA_EXPORT
int pipewire__module_init(struct pw_module *module, const char *args)
{
struct pw_properties *props = NULL;

View file

@ -63,6 +63,7 @@ const struct pw_module_events module_events = {
.destroy = module_destroy,
};
SPA_EXPORT
int pipewire__module_init(struct pw_module *module, const char *args)
{
const char *dir;

View file

@ -205,6 +205,7 @@ static int module_init(struct pw_module *module, struct pw_properties *propertie
return 0;
}
SPA_EXPORT
int pipewire__module_init(struct pw_module *module, const char *args)
{
return module_init(module, NULL);

View file

@ -64,6 +64,7 @@ static const struct pw_module_events module_events = {
.destroy = module_destroy,
};
SPA_EXPORT
int pipewire__module_init(struct pw_module *module, const char *args)
{
struct pw_properties *props = NULL;