bufq: remove the unused Curl_bufq_unwrite function

Follow-up to 02edae54e8

Closes #17730
This commit is contained in:
Daniel Stenberg 2025-06-24 09:15:45 +02:00
parent c153d9eadf
commit 65f8253336
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 0 additions and 121 deletions

View file

@ -76,17 +76,6 @@ void Curl_bufq_skip(struct bufq *q, size_t amount);
This removes `amount` number of bytes from the `bufq`.
## unwrite
It is possible to undo writes by calling:
```
CURLcode Curl_bufq_unwrite(struct bufq *q, size_t len);
```
This removes `len` bytes from the end of the bufq again. When removing more
bytes than are present, CURLE_AGAIN is returned and bufq is cleared.
## lifetime
`bufq` is initialized and freed similar to the `dynbuf` module. Code using