Changeset 1b20da0 in mainline for uspace/lib/fmtutil


Ignore:
Timestamp:
2018-02-28T17:52:03Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3061bc1
Parents:
df6ded8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
Message:

style: Remove trailing whitespace on non-empty lines, in certain file types.

Command used: tools/srepl '\([^[:space:]]\)\s\+$' '\1' -- *.c *.h *.py *.sh *.s *.S *.ag

Location:
uspace/lib/fmtutil
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/fmtutil/fmtutil.c

    rdf6ded8 r1b20da0  
    230230        }
    231231        /* Here we have less than width chars starting from line_start.
    232          * Moreover, the last portion does not contain spaces or newlines 
     232         * Moreover, the last portion does not contain spaces or newlines
    233233         */
    234234        if (pos - line_start > 0)
  • uspace/lib/fmtutil/fmtutil.h

    rdf6ded8 r1b20da0  
    3636/** Callback that processes a line of characters.
    3737 * (e.g. as a result of wrap operation)
    38  * 
     38 *
    3939 * @param content pointer to line data (note: this is NOT null-terminated)
    4040 * @param size number of characters in line
    4141 * @param end_of_para true if the line is the last line of the paragraph
    4242 * @param data user data
    43  * 
     43 *
    4444 * @returns EOK on success or an error code on failure
    4545 */
Note: See TracChangeset for help on using the changeset viewer.