Changeset 8565a42 in mainline for uspace/lib/c/generic/adt/prodcons.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/prodcons.c

    r3061bc1 r8565a42  
    4747{
    4848        fibril_mutex_lock(&pc->mtx);
    49        
     49
    5050        list_append(item, &pc->list);
    5151        fibril_condvar_signal(&pc->cv);
    52        
     52
    5353        fibril_mutex_unlock(&pc->mtx);
    5454}
     
    5757{
    5858        fibril_mutex_lock(&pc->mtx);
    59        
     59
    6060        while (list_empty(&pc->list))
    6161                fibril_condvar_wait(&pc->cv, &pc->mtx);
    62        
     62
    6363        link_t *head = list_first(&pc->list);
    6464        list_remove(head);
    65        
     65
    6666        fibril_mutex_unlock(&pc->mtx);
    67        
     67
    6868        return head;
    6969}
Note: See TracChangeset for help on using the changeset viewer.