Ignore:
Timestamp:
2010-11-19T21:28:02Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a9c6b966
Parents:
45f04f8 (diff), aaa3f33a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge xxx_ref typedefs removal.

File:
1 edited

Legend:

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

    r45f04f8 ra7811f17  
    5959 * @returns             FALSE otherwise.
    6060 */
    61 static int dyn_fifo_is_valid(dyn_fifo_ref fifo)
     61static int dyn_fifo_is_valid(dyn_fifo_t *fifo)
    6262{
    6363        return fifo && (fifo->magic_value == DYN_FIFO_MAGIC_VALUE);
     
    7373 * @returns             ENOMEM if there is not enough memory left.
    7474 */
    75 int dyn_fifo_initialize(dyn_fifo_ref fifo, int size)
     75int dyn_fifo_initialize(dyn_fifo_t *fifo, int size)
    7676{
    7777        if (!fifo)
     
    104104 * @returns             ENOMEM if there is not enough memory left.
    105105 */
    106 int dyn_fifo_push(dyn_fifo_ref fifo, int value, int max_size)
     106int dyn_fifo_push(dyn_fifo_t *fifo, int value, int max_size)
    107107{
    108108        int *new_items;
     
    154154 * @returns             ENOENT if the queue is empty.
    155155 */
    156 int dyn_fifo_pop(dyn_fifo_ref fifo)
     156int dyn_fifo_pop(dyn_fifo_t *fifo)
    157157{
    158158        int value;
     
    176176 * @returns             ENOENT if the queue is empty.
    177177 */
    178 int dyn_fifo_value(dyn_fifo_ref fifo)
     178int dyn_fifo_value(dyn_fifo_t *fifo)
    179179{
    180180        if (!dyn_fifo_is_valid(fifo))
     
    193193 * @returns             EINVAL if the queue is not valid.
    194194 */
    195 int dyn_fifo_destroy(dyn_fifo_ref fifo)
     195int dyn_fifo_destroy(dyn_fifo_t *fifo)
    196196{
    197197        if (!dyn_fifo_is_valid(fifo))
Note: See TracChangeset for help on using the changeset viewer.