Changeset 1433ecda in mainline for uspace/lib/pcut/src/list.c


Ignore:
Timestamp:
2018-04-04T15:42:37Z (6 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/pcut/src/list.c

    r47b2d7e3 r1433ecda  
    4343 * @return First item with actual content or NULL on end of list.
    4444 */
    45 pcut_item_t *pcut_get_real_next(pcut_item_t *item) {
     45pcut_item_t *pcut_get_real_next(pcut_item_t *item)
     46{
    4647        if (item == NULL) {
    4748                return NULL;
     
    6465 * @return First item with actual content or NULL on end of list.
    6566 */
    66 pcut_item_t *pcut_get_real(pcut_item_t *item) {
     67pcut_item_t *pcut_get_real(pcut_item_t *item)
     68{
    6769        if (item == NULL) {
    6870                return NULL;
     
    8183 * @param nested Head of the nested list.
    8284 */
    83 static void inline_nested_lists(pcut_item_t *nested) {
     85static void inline_nested_lists(pcut_item_t *nested)
     86{
    8487        pcut_item_t *first;
    8588
     
    108111 * @param first List head.
    109112 */
    110 static void set_ids(pcut_item_t *first) {
     113static void set_ids(pcut_item_t *first)
     114{
    111115        int id = 1;
    112116        pcut_item_t *it;
     
    131135 * @param first Head of the list.
    132136 */
    133 static void detect_skipped_tests(pcut_item_t *first) {
     137static void detect_skipped_tests(pcut_item_t *first)
     138{
    134139        pcut_item_t *it;
    135140
     
    167172 * @return Head of the fixed list.
    168173 */
    169 pcut_item_t *pcut_fix_list_get_real_head(pcut_item_t *last) {
     174pcut_item_t *pcut_fix_list_get_real_head(pcut_item_t *last)
     175{
    170176        pcut_item_t *next, *it;
    171177
     
    195201 * @return Number of tests.
    196202 */
    197 int pcut_count_tests(pcut_item_t *it) {
     203int pcut_count_tests(pcut_item_t *it)
     204{
    198205        int count = 0;
    199206        while (it != NULL) {
Note: See TracChangeset for help on using the changeset viewer.