From dca009fc51db5a73bd3ee535baa01b9dfb63f6c8 Mon Sep 17 00:00:00 2001 From: Constantine Date: Thu, 7 Sep 2023 15:48:51 +0300 Subject: [PATCH] Remove unused macro --- fw/http_msg.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/fw/http_msg.h b/fw/http_msg.h index 70cc1b032..60db8386f 100644 --- a/fw/http_msg.h +++ b/fw/http_msg.h @@ -146,12 +146,6 @@ int tfw_http_msg_hdr_xfrm_str(TfwHttpMsg *hm, const TfwStr *hdr, int tfw_http_msg_hdr_xfrm(TfwHttpMsg *hm, char *name, size_t n_len, char *val, size_t v_len, unsigned int hid, bool append); -#define TFW_HTTP_MSG_HDR_XFRM(hm, name, val, hid, append) \ - tfw_http_msg_hdr_xfrm(hm, name, sizeof(name) - 1, val, \ - sizeof(val) - 1, hid, append) -#define TFW_HTTP_MSG_HDR_DEL(hm, name, hid) \ - tfw_http_msg_hdr_xfrm(hm, name, sizeof(name) - 1, NULL, 0, hid, 0) - int tfw_http_msg_del_str(TfwHttpMsg *hm, TfwStr *str); int tfw_http_msg_cutoff_body_chunks(TfwHttpResp *resp);