summary refs log tree commit diff
path: root/misc/http_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/http_client.h')
-rw-r--r--misc/http_client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/http_client.h b/misc/http_client.h
index 2d0c24a..e6a11af 100644
--- a/misc/http_client.h
+++ b/misc/http_client.h
@@ -27,12 +27,12 @@ struct http_url {
 
 struct http_req;
 
-typedef void (*http_cb)(struct http_req *, struct http_response *, void *);
+typedef void (*http_cb_t)(struct http_req *, struct http_response *, void *);
 
 struct http_url *http_url_parse(const char *url);
 void http_url_free(struct http_url *url);
 int http_get(struct http_req **out, const char *url, const char *hdrs,
-    http_cb cb, void *arg);
+    http_cb_t cb, void *arg);
 void http_cancel(struct http_req *req);
 
 #endif