X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnet_socket.c;h=40120962312de31420813f864ad5352e768e2fcf;hb=d772289f6d6adfb8932658b533349d43f08ec326;hp=163553ad3de22374e4c13ea287438f98efe28f71;hpb=02e32cf61ee25d3d0e2fc1fef5cd98cbfa1c9a2f;p=meshlink 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);