Skip to content

Commit

Permalink
ringbuf_get_sizes: drop the const, to be in line with the prototype.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmind committed Jan 23, 2018
1 parent c64e99d commit 425c184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ringbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ ringbuf_setup(ringbuf_t *rbuf, unsigned nworkers, size_t length)
* ringbuf_get_sizes: return the sizes of the ringbuf_t and ringbuf_worker_t.
*/
void
ringbuf_get_sizes(const unsigned nworkers,
ringbuf_get_sizes(unsigned nworkers,
size_t *ringbuf_size, size_t *ringbuf_worker_size)
{
if (ringbuf_size)
Expand Down

0 comments on commit 425c184

Please sign in to comment.