[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/maint-0.2.7] fix compilation; mark test fns static



commit d4212d581ae418dcb91eac6343359bb7deb90c0a
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Tue Sep 29 13:50:52 2015 +0200

    fix compilation; mark test fns static
---
 src/test/test_address.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/test_address.c b/src/test/test_address.c
index b442f4a..938f776 100644
--- a/src/test/test_address.c
+++ b/src/test/test_address.c
@@ -781,7 +781,7 @@ test_address_get_if_addrs6_list_no_internal(void *arg)
 
 static int called_get_interface_addresses_raw = 0;
 
-smartlist_t *
+static smartlist_t *
 mock_get_interface_addresses_raw_fail(int severity)
 {
   (void)severity;
@@ -792,7 +792,7 @@ mock_get_interface_addresses_raw_fail(int severity)
 
 static int called_get_interface_address6_via_udp_socket_hack = 0;
 
-int
+static int
 mock_get_interface_address6_via_udp_socket_hack_fail(int severity,
                                                      sa_family_t family,
                                                      tor_addr_t *addr)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits