ringbufindex: fix a typo in a comment

This commit is contained in:
Yasuyuki Tanaka 2017-01-11 21:13:16 +01:00
parent 8df0f7dd01
commit baaa3da23e

View File

@ -58,7 +58,7 @@ int ringbufindex_peek_put(const struct ringbufindex *r);
/* Remove the first element and return its index */ /* Remove the first element and return its index */
int ringbufindex_get(struct ringbufindex *r); int ringbufindex_get(struct ringbufindex *r);
/* Return the index of the first element /* Return the index of the first element
* (which will be removed if calling ringbufindex_peek) */ * (which will be removed if calling ringbufindex_get) */
int ringbufindex_peek_get(const struct ringbufindex *r); int ringbufindex_peek_get(const struct ringbufindex *r);
/* Return the ring buffer size */ /* Return the ring buffer size */
int ringbufindex_size(const struct ringbufindex *r); int ringbufindex_size(const struct ringbufindex *r);