summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/alpm.c')
-rw-r--r--lib/libalpm/alpm.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c
index e5b47444..db2a63de 100644
--- a/lib/libalpm/alpm.c
+++ b/lib/libalpm/alpm.c
@@ -27,11 +27,6 @@
#include <curl/curl.h>
#endif
-/* connection caching setup */
-#ifdef HAVE_LIBFETCH
-#include <fetch.h>
-#endif
-
/* libalpm */
#include "alpm.h"
#include "alpm_list.h"
@@ -69,10 +64,6 @@ int SYMEXPORT alpm_initialize(void)
bindtextdomain("libalpm", LOCALEDIR);
#endif
-#ifdef HAVE_LIBFETCH
- fetchConnectionCacheInit(5, 1);
-#endif
-
#ifdef HAVE_LIBCURL
curl_global_init(CURL_GLOBAL_SSL);
handle->curl = curl_easy_init();
@@ -97,10 +88,6 @@ int SYMEXPORT alpm_release(void)
_alpm_handle_free(handle);
handle = NULL;
-#ifdef HAVE_LIBFETCH
- fetchConnectionCacheClose();
-#endif
-
#ifdef HAVE_LIBCURL
curl_global_cleanup();
#endif