Changeset 7c3fb9b in mainline for uspace/lib/c/generic/str.c


Ignore:
Timestamp:
2018-05-17T08:29:01Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff23ff
Parents:
fac0ac7
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
Message:

Fix block comment formatting (ccheck).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/str.c

    rfac0ac7 r7c3fb9b  
    202202                return EINVAL;
    203203
    204         /* Unsigned version of ch (bit operations should only be done
    205            on unsigned types). */
     204        /*
     205         * Unsigned version of ch (bit operations should only be done
     206         * on unsigned types).
     207         */
    206208        uint32_t cc = (uint32_t) ch;
    207209
     
    12221224 * @param ch      Character to insert to.
    12231225 * @param pos     Character index where to insert.
    1224  @ @param max_pos Characters in the buffer.
     1226 * @param max_pos Characters in the buffer.
    12251227 *
    12261228 * @return True if the insertion was sucessful, false if the position
     
    15311533                return EINVAL;
    15321534
    1533         /* Check whether we are at the end of
    1534            the string in strict mode */
     1535        /*
     1536         * Check whether we are at the end of
     1537         * the string in strict mode
     1538         */
    15351539        if ((strict) && (*lendptr != 0))
    15361540                return EINVAL;
     
    15781582                return EINVAL;
    15791583
    1580         /* Check whether we are at the end of
    1581            the string in strict mode */
     1584        /*
     1585         * Check whether we are at the end of
     1586         * the string in strict mode
     1587         */
    15821588        if ((strict) && (*lendptr != 0))
    15831589                return EINVAL;
     
    16251631                return EINVAL;
    16261632
    1627         /* Check whether we are at the end of
    1628            the string in strict mode */
     1633        /*
     1634         * Check whether we are at the end of
     1635         * the string in strict mode
     1636         */
    16291637        if ((strict) && (*lendptr != 0))
    16301638                return EINVAL;
     
    16711679                return EINVAL;
    16721680
    1673         /* Check whether we are at the end of
    1674            the string in strict mode */
     1681        /*
     1682         * Check whether we are at the end of
     1683         * the string in strict mode
     1684         */
    16751685        if ((strict) && (*lendptr != 0))
    16761686                return EINVAL;
     
    17111721                return EINVAL;
    17121722
    1713         /* Check whether we are at the end of
    1714            the string in strict mode */
     1723        /*
     1724         * Check whether we are at the end of
     1725         * the string in strict mode
     1726         */
    17151727        if ((strict) && (*lendptr != 0))
    17161728                return EINVAL;
Note: See TracChangeset for help on using the changeset viewer.