From d4bec7aba21f3f7adbbb139685993b0cd50f04ec Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 13 Oct 2008 16:04:43 +0200 Subject: [PATCH] connection_connect is static --- src/connection.c | 4 +++- src/connection.h | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/connection.c b/src/connection.c index b9964be..487f511 100644 --- a/src/connection.c +++ b/src/connection.c @@ -82,6 +82,8 @@ struct connection { static struct connection *connection_freelist = 0; +static int connection_connect(struct connection *con); + static int connection_is_idle(struct connection *co) { ZOOM_connection link = co->link; @@ -342,7 +344,7 @@ static int maskfun(IOCHAN c) return ZOOM_connection_get_mask(co->link); } -int connection_connect(struct connection *con) +static int connection_connect(struct connection *con) { ZOOM_connection link = 0; struct host *host = connection_get_host(con); diff --git a/src/connection.h b/src/connection.h index e208fca..0ce89d7 100644 --- a/src/connection.h +++ b/src/connection.h @@ -35,7 +35,6 @@ struct session; void connection_destroy(struct connection *co); void connect_resolver_host(struct host *host); -int connection_connect(struct connection *con); struct connection *connection_get_available(struct connection *con_list, struct session *se); int connection_prep_connection(struct connection *co, struct session *se); -- 1.7.10.4