diff options
Diffstat (limited to 'src/libunixonacid/kolbak_unenqueue.c')
-rw-r--r-- | src/libunixonacid/kolbak_unenqueue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libunixonacid/kolbak_unenqueue.c b/src/libunixonacid/kolbak_unenqueue.c index 894beea..07ad8ea 100644 --- a/src/libunixonacid/kolbak_unenqueue.c +++ b/src/libunixonacid/kolbak_unenqueue.c @@ -1,9 +1,10 @@ /* ISC license. */ #include <errno.h> + #include <skalibs/kolbak.h> -int kolbak_unenqueue (kolbak_queue_t *q) +int kolbak_unenqueue (kolbak_queue *q) { if (q->head == q->tail) return (errno = EINVAL, 0) ; q->tail = (q->tail + q->n - 1) % q->n ; |