Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 7e66a5e in mainline


Ignore:
Timestamp:
2010-10-23T09:02:58Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
472020fc
Parents:
38b3baf
Message:

Nits.

File:
1 edited

Legend:

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

    r38b3baf r7e66a5e  
    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>
    3638
    3739#include <errno.h>
    3840#include <malloc.h>
    3941#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] fifoi The dynamic queue.
     151 * @param[in,out] fifo  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.