aboutsummaryrefslogtreecommitdiff
path: root/lib/conncache.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/conncache.h')
-rw-r--r--lib/conncache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/conncache.h b/lib/conncache.h
index e77a084a7..dc4867d0d 100644
--- a/lib/conncache.h
+++ b/lib/conncache.h
@@ -24,13 +24,13 @@
***************************************************************************/
struct conncache {
- struct curl_hash *hash;
+ struct curl_hash hash;
size_t num_connections;
long next_connection_id;
struct timeval last_cleanup;
};
-struct conncache *Curl_conncache_init(int size);
+int Curl_conncache_init(struct conncache *, int size);
void Curl_conncache_destroy(struct conncache *connc);