diff --git a/spa/plugins/aec/aec-null.c b/spa/plugins/aec/aec-null.c index 0dea9fc29..76e6d8a50 100644 --- a/spa/plugins/aec/aec-null.c +++ b/spa/plugins/aec/aec-null.c @@ -151,7 +151,7 @@ impl_enum_interface_info(const struct spa_handle_factory *factory, return 1; } -const struct spa_handle_factory spa_aec_null_factory = { +static const struct spa_handle_factory spa_aec_null_factory = { SPA_VERSION_HANDLE_FACTORY, SPA_NAME_AEC, NULL, @@ -160,7 +160,6 @@ const struct spa_handle_factory spa_aec_null_factory = { impl_enum_interface_info, }; - SPA_EXPORT int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index) { diff --git a/spa/plugins/aec/aec-webrtc.cpp b/spa/plugins/aec/aec-webrtc.cpp index c3e0be76b..2d86b85c8 100644 --- a/spa/plugins/aec/aec-webrtc.cpp +++ b/spa/plugins/aec/aec-webrtc.cpp @@ -248,7 +248,7 @@ impl_enum_interface_info(const struct spa_handle_factory *factory, return 1; } -const struct spa_handle_factory spa_aec_webrtc_factory = { +static const struct spa_handle_factory spa_aec_webrtc_factory = { SPA_VERSION_HANDLE_FACTORY, SPA_NAME_AEC, NULL, @@ -257,7 +257,6 @@ const struct spa_handle_factory spa_aec_webrtc_factory = { impl_enum_interface_info, }; - SPA_EXPORT int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index) {