From c9cc2fe6dc7445a796e6d9492f8fb9d889415cb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Fri, 22 Jul 2022 00:10:13 +0200 Subject: [PATCH] spa: aec: mark handle factory objects `static` --- spa/plugins/aec/aec-null.c | 3 +-- spa/plugins/aec/aec-webrtc.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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) {