Changeset 8565a42 in mainline for uspace/lib/c/generic/adt/list.c


Ignore:
Timestamp:
2018-03-02T20:34:50Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (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.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

File:
1 edited

Legend:

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

    r3061bc1 r8565a42  
    5757        bool found = false;
    5858        link_t *hlp = list->head.next;
    59        
     59
    6060        while (hlp != &list->head) {
    6161                if (hlp == link) {
     
    6565                hlp = hlp->next;
    6666        }
    67        
     67
    6868        return found;
    6969}
     
    8181        if (list_empty(list))
    8282                return;
    83        
     83
    8484        /* Attach list to destination. */
    8585        list->head.next->prev = pos;
    8686        list->head.prev->next = pos->next;
    87        
     87
    8888        /* Link destination list to the added list. */
    8989        pos->next->prev = list->head.prev;
    9090        pos->next = list->head.next;
    91        
     91
    9292        list_initialize(list);
    9393}
     
    103103{
    104104        unsigned long count = 0;
    105        
     105
    106106        link_t *link = list_first(list);
    107107        while (link != NULL) {
     
    109109                link = list_next(link, list);
    110110        }
    111        
     111
    112112        return count;
    113113}
Note: See TracChangeset for help on using the changeset viewer.