X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet_socket.c;h=40120962312de31420813f864ad5352e768e2fcf;hb=e6b21e1a510691a86dcc1ecdf71a80a7c62ff17f;hp=163553ad3de22374e4c13ea287438f98efe28f71;hpb=8ddcad5fa1908727f68abb461b615c666616064f;p=tinc diff --git a/src/net_socket.c b/src/net_socket.c index 163553ad..40120962 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -449,7 +449,7 @@ begin: return; } -void handle_meta_write(int sock, short events, void *data) { +static void handle_meta_write(int sock, short events, void *data) { ifdebug(META) logger(LOG_DEBUG, "handle_meta_write() called"); connection_t *c = data; @@ -466,7 +466,7 @@ void handle_meta_write(int sock, short events, void *data) { event_del(&c->outevent); } -void handle_meta_connection_error(struct bufferevent *event, short what, void *data) { +static void handle_meta_connection_error(struct bufferevent *event, short what, void *data) { connection_t *c = data; logger(LOG_ERR, "handle_meta_connection_error() called: %d: %s", what, strerror(errno)); terminate_connection(c, c->status.active); @@ -564,7 +564,7 @@ void handle_new_meta_connection(int sock, short events, void *data) { send_id(c); } -void free_outgoing(outgoing_t *outgoing) { +static void free_outgoing(outgoing_t *outgoing) { if(outgoing->ai) freeaddrinfo(outgoing->ai);