Changeset 25697163 in mainline for uspace/srv/sysman/test/mock_unit.c
- Timestamp:
- 2019-10-06T19:47:15Z (5 years ago)
- Children:
- 9559cf8
- Parents:
- 102f641
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-09-06 17:58:36)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-10-06 19:47:15)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/test/mock_unit.c
r102f641 r25697163 78 78 void mock_add_edge(unit_t *input, unit_t *output) 79 79 { 80 int rc = edge_connect(input, output);80 errno_t rc = edge_connect(input, output); 81 81 assert(rc == EOK); 82 82 … … 87 87 } 88 88 89 int mock_unit_vmt_start_sync(unit_t *unit)89 errno_t mock_unit_vmt_start_sync(unit_t *unit) 90 90 { 91 91 unit->state = STATE_STARTED; … … 93 93 } 94 94 95 int mock_unit_vmt_start_async(unit_t *unit)95 errno_t mock_unit_vmt_start_async(unit_t *unit) 96 96 { 97 97 unit->state = STATE_STARTING;
Note:
See TracChangeset
for help on using the changeset viewer.