Changeset 361e61b in mainline for uspace/app/sbi/src/list.c


Ignore:
Timestamp:
2011-03-21T14:23:15Z (13 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
55e388a1
Parents:
c32688d (diff), 48fe0c9 (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 with development

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/list.c

    rc32688d r361e61b  
    11/*
    2  * Copyright (c) 2010 Jiri Svoboda
     2 * Copyright (c) 2011 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    5757}
    5858
     59/** Deinitialize list.
     60 *
     61 * @param list  List to deinitialize.
     62 */
     63void list_fini(list_t *list)
     64{
     65        assert(list_is_empty(list));
     66
     67        list->head.prev = NULL;
     68        list->head.next = NULL;
     69}
     70
    5971/** Append data to list.
    6072 *
Note: See TracChangeset for help on using the changeset viewer.