X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fconnection.c;h=cdbe4da50537459d2d925bc341ea143d2da23303;hb=a78bfdc62e206d1c892d2ed8c8bd4325c5583906;hp=089847bba541a55567590f7d84e411a1b5ae0b60;hpb=713bfdf6d506f0786e87950cbb685cb6fce7e9d0;p=pazpar2-moved-to-github.git diff --git a/src/connection.c b/src/connection.c index 089847b..cdbe4da 100644 --- a/src/connection.c +++ b/src/connection.c @@ -164,7 +164,7 @@ void connection_destroy(struct connection *co) // Creates a new connection for client, associated with the host of // client's database -struct connection *connection_create(struct client *cl) +static struct connection *connection_create(struct client *cl) { struct connection *new; struct host *host = client_get_host(cl); @@ -317,7 +317,7 @@ void connect_resolver_host(struct host *host) } } -struct host *connection_get_host(struct connection *con) +static struct host *connection_get_host(struct connection *con) { return con->host; }