Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/adt/dynamic_fifo.c

    r7e66a5ec r7093a32  
    2828
    2929/** @addtogroup libc
    30  * @{
     30 *  @{
    3131 */
    3232
     
    3434 * Dynamic first in first out positive integer queue implementation.
    3535 */
    36 
    37 #include <adt/dynamic_fifo.h>
    3836
    3937#include <errno.h>
    4038#include <malloc.h>
    4139#include <mem.h>
     40
     41#include <adt/dynamic_fifo.h>
    4242
    4343/** Internal magic value for a consistency check. */
     
    106106int dyn_fifo_push(dyn_fifo_ref fifo, int value, int max_size)
    107107{
    108         int *new_items;
     108        int * new_items;
    109109
    110110        if (!dyn_fifo_is_valid(fifo))
     
    149149/** Returns and excludes the first item in the queue.
    150150 *
    151  * @param[in,out] fifo  The dynamic queue.
     151 * @param[in,out] fifoi The dynamic queue.
    152152 * @returns             Value of the first item in the queue.
    153153 * @returns             EINVAL if the queue is not valid.
     
    189189/** Clears and destroys the queue.
    190190 *
    191  * @param[in,out] fifo  The dynamic queue.
    192  * @returns             EOK on success.
    193  * @returns             EINVAL if the queue is not valid.
     191 *  @param[in,out] fifo         The dynamic queue.
     192 *  @returns                    EOK on success.
     193 *  @returns                    EINVAL if the queue is not valid.
    194194 */
    195195int dyn_fifo_destroy(dyn_fifo_ref fifo)
Note: See TracChangeset for help on using the changeset viewer.