From c797e28c426ebbca489ea8e42e0aa7b9cfce83ff Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Mon, 16 Oct 2017 10:15:14 +0200 Subject: [PATCH] remove static to prevent defined-but-not-used warning on platforms other than android. --- coreapi/linphonecore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 6ab4f74b5..e6837b99e 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -2224,7 +2224,7 @@ static void linphone_core_init(LinphoneCore * lc, LinphoneCoreCbs *cbs, LpConfig lc->bw_controller = ms_bandwidth_controller_new(); } -static void _linphone_core_set_platform_helpers(LinphoneCore *lc, LinphonePrivate::PlatformHelpers *ph){ +void _linphone_core_set_platform_helpers(LinphoneCore *lc, LinphonePrivate::PlatformHelpers *ph){ if (lc->platform_helper) delete getPlatformHelpers(lc); lc->platform_helper = ph; }