Changeset feeac0d in mainline for uspace/lib/gui/terminal.c


Ignore:
Timestamp:
2013-09-10T16:32:35Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4982d87
Parents:
e8d6ce2
Message:

Simplify use of list_foreach.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gui/terminal.c

    re8d6ce2 rfeeac0d  
    685685        terminal_t *term = NULL;
    686686       
    687         list_foreach(terms, link) {
    688                 terminal_t *cur = list_get_instance(link, terminal_t, link);
    689                
     687        list_foreach(terms, link, terminal_t, cur) {
    690688                if (cur->dsid == (service_id_t) IPC_GET_ARG1(*icall)) {
    691689                        term = cur;
Note: See TracChangeset for help on using the changeset viewer.