From 975e592f85f05e98ef2b833e560e2c243b8491ec Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 23 Aug 2022 20:17:03 +0200 Subject: user/netstack: TCP recv --- src/shared/container/ring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/container/ring.h') diff --git a/src/shared/container/ring.h b/src/shared/container/ring.h index 4f0d310..dbaf331 100644 --- a/src/shared/container/ring.h +++ b/src/shared/container/ring.h @@ -13,7 +13,7 @@ size_t ring_used(ring_t*); /** Returns amount of space left in the buffer. */ size_t ring_avail(ring_t*); -void ring_put(ring_t*, void*, size_t); +void ring_put(ring_t*, const void*, size_t); void ring_put1b(ring_t*, uint8_t); size_t ring_get(ring_t*, void*, size_t); -- cgit v1.2.3