summaryrefslogtreecommitdiff
path: root/src/shared/container/ring.h
diff options
context:
space:
mode:
authordzwdz2022-08-23 20:17:03 +0200
committerdzwdz2022-08-23 20:17:03 +0200
commit975e592f85f05e98ef2b833e560e2c243b8491ec (patch)
tree7520b5f29dda12d480d1676a75831c30e19049b1 /src/shared/container/ring.h
parent38cf66edaacc4e58b561bea8a77abfd3facf59fe (diff)
user/netstack: TCP recv
Diffstat (limited to 'src/shared/container/ring.h')
-rw-r--r--src/shared/container/ring.h2
1 files changed, 1 insertions, 1 deletions
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);