convert: The native line-ending is \r\n on MinGW
[gitweb.git] / http.h
diff --git a/http.h b/http.h
index 0fe54f413121100edab133baa1ef99f2f38600b6..4dc53531ae07cb1fc223afad22255311bd3b9523 100644 (file)
--- a/http.h
+++ b/http.h
@@ -135,12 +135,6 @@ extern char *get_remote_object_url(const char *url, const char *hex,
  */
 int http_get_strbuf(const char *url, struct strbuf *content_type, struct strbuf *result, int options);
 
-/*
- * Prints an error message using error() containing url and curl_errorstr,
- * and returns ret.
- */
-int http_error(const char *url, int ret);
-
 extern int http_fetch_ref(const char *base, struct ref *ref);
 
 /* Helpers for fetching packs */