Changeset 5a6cc679 in mainline for uspace/dist/src/c/demos/edit/edit.c


Ignore:
Timestamp:
2018-01-31T02:21:24Z (8 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/dist/src/c/demos/edit/edit.c

    r132ab5d1 r5a6cc679  
    190190        cons_event_t ev;
    191191        bool new_file;
    192         int rc;
     192        errno_t rc;
    193193
    194194        con = console_init(stdin, stdout);
     
    580580{
    581581        spt_t sp, ep;
    582         int rc;
     582        errno_t rc;
    583583
    584584        status_display("Saving...");
     
    615615        }
    616616
    617         int rc = file_save(fname);
     617        errno_t rc = file_save(fname);
    618618        if (rc != EOK)
    619619                return;
     
    13301330       
    13311331        match_t match;
    1332         int rc = search_next_match(search, &match);
     1332        errno_t rc = search_next_match(search, &match);
    13331333        if (rc != EOK) {
    13341334                status_display("Failed searching.");
     
    14481448        size_t off;
    14491449        wchar_t c;
    1450         int rc;
     1450        errno_t rc;
    14511451
    14521452        rc = clipboard_get_str(&str);
Note: See TracChangeset for help on using the changeset viewer.