Fix sparse warnings and add an extra sprinkling of const.
[oweals/tinc.git] / src / net_socket.c
index 2e6b068552d3838cbeb175c32f97637cf7d83fcc..a45bc204fad49a162d08d8a263b80b14afd5a6e0 100644 (file)
@@ -535,7 +535,7 @@ bool handle_new_meta_connection(int sock) {
        return true;
 }
 
-void free_outgoing(outgoing_t *outgoing) {
+static void free_outgoing(outgoing_t *outgoing) {
        if(outgoing->ai)
                freeaddrinfo(outgoing->ai);