fix arguments to uclient_http_reset_headers
[project/uclient.git] / uclient.h
index e8214c28008ef7ee3258073dfd94ccfe662baea5..65e48b2f35b68058f3fb2f7ec4ff009ded60a9d5 100644 (file)
--- a/uclient.h
+++ b/uclient.h
@@ -68,8 +68,8 @@ int uclient_request(struct uclient *cl);
 /* HTTP */
 extern const struct uclient_backend uclient_backend_http;
 
+int uclient_http_reset_headers(struct uclient *cl);
 int uclient_http_set_header(struct uclient *cl, const char *name, const char *value);
-int uclient_http_reset_headers(struct uclient *cl, const char *name, const char *value);
 int uclient_http_set_request_type(struct uclient *cl, const char *type);
 bool uclient_http_redirect(struct uclient *cl);