Changeset 102f641 in mainline for uspace/srv/sysman/unit.c
- Timestamp:
- 2019-09-02T19:01:50Z (6 years ago)
- Children:
- 25697163
- Parents:
- 241f1985
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/unit.c
r241f1985 r102f641 55 55 56 56 static config_item_t unit_configuration[] = { 57 { "After", &unit_parse_unit_list, 0, ""},57 { "After", &unit_parse_unit_list, 0, "" }, 58 58 CONFIGURATION_ITEM_SENTINEL 59 59 }; 60 60 61 62 61 static void unit_init(unit_t *unit, unit_type_t type) 63 62 { … … 66 65 size_t size = unit_type_vmts[type]->size; 67 66 memset(unit, 0, size); 68 67 69 68 unit->type = type; 70 69 unit->state = STATE_STOPPED; … … 97 96 98 97 UNIT_VMT(unit)->destroy(unit); 99 /* TODO: 98 /* 99 * TODO: 100 100 * edges 101 101 */ … … 116 116 unit_section, unit, text_parse); 117 117 } 118 118 119 119 if (rc != EOK) { 120 120 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.