Changeset 1433ecda in mainline for uspace/lib/posix/src/string.c


Ignore:
Timestamp:
2018-04-04T15:42:37Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/src/string.c

    r47b2d7e3 r1433ecda  
    198198        assert(src != NULL);
    199199
    200         unsigned char* bdest = dest;
    201         const unsigned char* bsrc = src;
     200        unsigned char *bdest = dest;
     201        const unsigned char *bsrc = src;
    202202
    203203        for (size_t i = 0; i < n; ++i) {
     
    458458                        j = prefix_table[j];
    459459                }
    460                 i++; j++;
     460                i++;
     461                j++;
    461462                prefix_table[i] = j;
    462463        }
     
    518519
    519520        /* Skip over leading delimiters. */
    520         while (*s && (strchr(delim, *s) != NULL)) ++s;
     521        while (*s && (strchr(delim, *s) != NULL))
     522                ++s;
    521523        start = s;
    522524
    523525        /* Skip over token characters. */
    524         while (*s && (strchr(delim, *s) == NULL)) ++s;
     526        while (*s && (strchr(delim, *s) == NULL))
     527                ++s;
    525528        end = s;
    526529        *next = (*s ? s + 1 : s);
Note: See TracChangeset for help on using the changeset viewer.