gcoap: rename gcoap_req_send2() to gcoap_req_send()

This commit is contained in:
Martine Lenders 2019-04-25 13:40:32 +02:00
parent affd115405
commit a11f817604
2 changed files with 6 additions and 6 deletions

View File

@ -592,7 +592,7 @@ static inline ssize_t gcoap_request(coap_pkt_t *pdu, uint8_t *buf, size_t len,
* @return length of the packet * @return length of the packet
* @return 0 if cannot send * @return 0 if cannot send
*/ */
size_t gcoap_req_send2(const uint8_t *buf, size_t len, size_t gcoap_req_send(const uint8_t *buf, size_t len,
const sock_udp_ep_t *remote, const sock_udp_ep_t *remote,
gcoap_resp_handler_t resp_handler); gcoap_resp_handler_t resp_handler);

View File

@ -707,7 +707,7 @@ ssize_t gcoap_finish(coap_pkt_t *pdu, size_t payload_len, unsigned format)
return pdu->payload_len + (pdu->payload - (uint8_t *)pdu->hdr); return pdu->payload_len + (pdu->payload - (uint8_t *)pdu->hdr);
} }
size_t gcoap_req_send2(const uint8_t *buf, size_t len, size_t gcoap_req_send(const uint8_t *buf, size_t len,
const sock_udp_ep_t *remote, const sock_udp_ep_t *remote,
gcoap_resp_handler_t resp_handler) gcoap_resp_handler_t resp_handler)
{ {