Skip to content

Commit

Permalink
Update sys/include/net/nanocoap.h
Browse files Browse the repository at this point in the history
Co-authored-by: benpicco <[email protected]>
  • Loading branch information
maribu and benpicco authored Jan 10, 2025
1 parent 17b037d commit 178cb6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/include/net/nanocoap.h
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ static inline void *coap_get_token_from_udp_buf(const void *buf)
* @pre This assumes that the buffer has already been validated (e.g. using
* @ref coap_udp_parse).

Check failure on line 595 in sys/include/net/nanocoap.h

View workflow job for this annotation

GitHub Actions / static-tests

unable to resolve reference to 'coap_udp_parse' for ref command
*/
static inline size_t coap_get_token_len_from_udp_buf(const uint8_t *buf)
static inline size_t coap_get_token_len_from_udp_buf(const void *buf)
{
coap_udp_hdr_t *hdr = (void *)buf;
uint8_t tkl = hdr->ver_t_tkl & 0xf;
Expand Down

0 comments on commit 178cb6a

Please sign in to comment.