Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
bc80229e
Commit
bc80229e
authored
Apr 28, 2016
by
Gautier Pelloux-Prayer
Browse files
tester.c: fix compilation on old gcc
parent
73207c0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
tester/tester.c
tester/tester.c
+7
-7
No files found.
tester/tester.c
View file @
bc80229e
...
@@ -263,6 +263,10 @@ bool_t transport_supported(LinphoneTransportType transport) {
...
@@ -263,6 +263,10 @@ bool_t transport_supported(LinphoneTransportType transport) {
return
supported
;
return
supported
;
}
}
#if __clang__ || ((__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || __GNUC__ > 4)
#pragma GCC diagnostic push
#endif
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
void
linphone_core_manager_init
(
LinphoneCoreManager
*
mgr
,
const
char
*
rc_file
)
{
void
linphone_core_manager_init
(
LinphoneCoreManager
*
mgr
,
const
char
*
rc_file
)
{
char
*
rc_path
=
NULL
;
char
*
rc_path
=
NULL
;
char
*
hellopath
=
bc_tester_res
(
"sounds/hello8000.wav"
);
char
*
hellopath
=
bc_tester_res
(
"sounds/hello8000.wav"
);
...
@@ -270,14 +274,7 @@ void linphone_core_manager_init(LinphoneCoreManager *mgr, const char* rc_file) {
...
@@ -270,14 +274,7 @@ void linphone_core_manager_init(LinphoneCoreManager *mgr, const char* rc_file) {
mgr
->
v_table
.
registration_state_changed
=
registration_state_changed
;
mgr
->
v_table
.
registration_state_changed
=
registration_state_changed
;
mgr
->
v_table
.
auth_info_requested
=
auth_info_requested
;
mgr
->
v_table
.
auth_info_requested
=
auth_info_requested
;
mgr
->
v_table
.
call_state_changed
=
call_state_changed
;
mgr
->
v_table
.
call_state_changed
=
call_state_changed
;
#if __clang__ || ((__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || __GNUC__ > 4)
#pragma GCC diagnostic push
#endif
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
mgr
->
v_table
.
text_received
=
text_message_received
;
mgr
->
v_table
.
text_received
=
text_message_received
;
#if __clang__ || ((__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || __GNUC__ > 4)
#pragma GCC diagnostic pop
#endif
mgr
->
v_table
.
message_received
=
message_received
;
mgr
->
v_table
.
message_received
=
message_received
;
mgr
->
v_table
.
is_composing_received
=
is_composing_received
;
mgr
->
v_table
.
is_composing_received
=
is_composing_received
;
mgr
->
v_table
.
new_subscription_requested
=
new_subscription_requested
;
mgr
->
v_table
.
new_subscription_requested
=
new_subscription_requested
;
...
@@ -341,6 +338,9 @@ void linphone_core_manager_init(LinphoneCoreManager *mgr, const char* rc_file) {
...
@@ -341,6 +338,9 @@ void linphone_core_manager_init(LinphoneCoreManager *mgr, const char* rc_file) {
if
(
rc_path
)
ms_free
(
rc_path
);
if
(
rc_path
)
ms_free
(
rc_path
);
}
}
#if __clang__ || ((__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || __GNUC__ > 4)
#pragma GCC diagnostic pop
#endif
void
linphone_core_manager_start
(
LinphoneCoreManager
*
mgr
,
int
check_for_proxies
)
{
void
linphone_core_manager_start
(
LinphoneCoreManager
*
mgr
,
int
check_for_proxies
)
{
LinphoneProxyConfig
*
proxy
;
LinphoneProxyConfig
*
proxy
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment