Ignore:
File:
1 edited

Legend:

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

    rb7fd2a0 r582a0b8  
    104104}
    105105
    106 errno_t search_next_match(search_t *s, match_t *match)
     106int search_next_match(search_t *s, match_t *match)
    107107{
    108108        search_equals_fn eq = s->ops.equals;
    109109       
    110110        wchar_t cur_char;
    111         errno_t rc = EOK;
     111        int rc = EOK;
    112112        while ((rc = s->ops.producer(s->client_data, &cur_char)) == EOK && cur_char > 0) {
    113113                /* Deal with mismatches */
Note: See TracChangeset for help on using the changeset viewer.