Changeset 102f641 in mainline for uspace/srv/sysman/unit.c


Ignore:
Timestamp:
2019-09-02T19:01:50Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
25697163
Parents:
241f1985
Message:

Correcting syntax according to ccheck

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/unit.c

    r241f1985 r102f641  
    5555
    5656static config_item_t unit_configuration[] = {
    57         {"After", &unit_parse_unit_list, 0, ""},
     57        { "After", &unit_parse_unit_list, 0, "" },
    5858        CONFIGURATION_ITEM_SENTINEL
    5959};
    6060
    61 
    6261static void unit_init(unit_t *unit, unit_type_t type)
    6362{
     
    6665        size_t size = unit_type_vmts[type]->size;
    6766        memset(unit, 0, size);
    68        
     67
    6968        unit->type = type;
    7069        unit->state = STATE_STOPPED;
     
    9796
    9897        UNIT_VMT(unit)->destroy(unit);
    99         /* TODO:
     98        /*
     99         * TODO:
    100100         *      edges
    101101         */
     
    116116                    unit_section, unit, text_parse);
    117117        }
    118                                
     118
    119119        if (rc != EOK) {
    120120                return rc;
Note: See TracChangeset for help on using the changeset viewer.