From: Adam Dickmeiss Date: Mon, 13 Oct 2008 14:04:43 +0000 (+0200) Subject: connection_connect is static X-Git-Tag: v1.1.0~102 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=d4bec7aba21f3f7adbbb139685993b0cd50f04ec;p=pazpar2-moved-to-github.git connection_connect is static --- 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);