summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auto_tests/TCP_test.c2
-rw-r--r--auto_tests/dht_test.c2
-rw-r--r--auto_tests/onion_test.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/auto_tests/TCP_test.c b/auto_tests/TCP_test.c
index 3c5d56b9..fe699947 100644
--- a/auto_tests/TCP_test.c
+++ b/auto_tests/TCP_test.c
@@ -23,7 +23,7 @@
23#define net_family_ipv6 net_family_ipv4 23#define net_family_ipv6 net_family_ipv4
24#endif 24#endif
25 25
26static inline IP get_loopback() 26static inline IP get_loopback(void)
27{ 27{
28 IP ip; 28 IP ip;
29#if USE_IPV6 29#if USE_IPV6
diff --git a/auto_tests/dht_test.c b/auto_tests/dht_test.c
index f9c09dd5..c8aaa18c 100644
--- a/auto_tests/dht_test.c
+++ b/auto_tests/dht_test.c
@@ -19,7 +19,7 @@ static bool enable_broken_tests = false;
19#define USE_IPV6 1 19#define USE_IPV6 1
20#endif 20#endif
21 21
22static inline IP get_loopback() 22static inline IP get_loopback(void)
23{ 23{
24 IP ip; 24 IP ip;
25#if USE_IPV6 25#if USE_IPV6
diff --git a/auto_tests/onion_test.c b/auto_tests/onion_test.c
index 6cd06494..20c7ff86 100644
--- a/auto_tests/onion_test.c
+++ b/auto_tests/onion_test.c
@@ -17,7 +17,7 @@
17#define USE_IPV6 1 17#define USE_IPV6 1
18#endif 18#endif
19 19
20static inline IP get_loopback() 20static inline IP get_loopback(void)
21{ 21{
22 IP ip; 22 IP ip;
23#if USE_IPV6 23#if USE_IPV6