Commit cc7c2b58 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix multiple compilation errors

parent a4567679
...@@ -3508,7 +3508,7 @@ struct dns_hosts *dns_hosts_mortal(struct dns_hosts *hosts) { ...@@ -3508,7 +3508,7 @@ struct dns_hosts *dns_hosts_mortal(struct dns_hosts *hosts) {
return hosts; return hosts;
} /* dns_hosts_mortal() */ } /* dns_hosts_mortal() */
#ifdef WINAPI_FAMILY_PHONE_APP
static int dns_hosts_add_localhost(struct dns_hosts *hosts) { static int dns_hosts_add_localhost(struct dns_hosts *hosts) {
struct dns_hosts_entry ent; struct dns_hosts_entry ent;
memset(&ent, '\0', sizeof(ent)); memset(&ent, '\0', sizeof(ent));
...@@ -3523,6 +3523,7 @@ static int dns_hosts_add_localhost(struct dns_hosts *hosts) { ...@@ -3523,6 +3523,7 @@ static int dns_hosts_add_localhost(struct dns_hosts *hosts) {
dns_hosts_insert(hosts, ent.af, &ent.addr, ent.host, 1); dns_hosts_insert(hosts, ent.af, &ent.addr, ent.host, 1);
return 0; return 0;
} }
#endif
struct dns_hosts *dns_hosts_local(int *error_) { struct dns_hosts *dns_hosts_local(int *error_) {
struct dns_hosts *hosts; struct dns_hosts *hosts;
......
...@@ -123,7 +123,7 @@ int belle_sip_tester_ipv6_available(void){ ...@@ -123,7 +123,7 @@ int belle_sip_tester_ipv6_available(void){
return ipv6_available; return ipv6_available;
} }
void belle_sip_tester_init(const char *root_ca_path) { void belle_sip_tester_init() {
belle_sip_object_enable_marshal_check(TRUE); belle_sip_object_enable_marshal_check(TRUE);
ipv6_available=_belle_sip_tester_ipv6_available(); ipv6_available=_belle_sip_tester_ipv6_available();
add_test_suite(&cast_test_suite); add_test_suite(&cast_test_suite);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment