Changeset 25697163 in mainline for uspace/srv/taskman/task.c


Ignore:
Timestamp:
2019-10-06T19:47:15Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
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)
Message:

Replacing int with errno_t

The merged code from system-daemon still used the type int
for indicating an error instead of using errno_t. This
commit corrects this mistake

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/taskman/task.c

    r102f641 r25697163  
    119119}
    120120
    121 int tasks_init(void)
     121errno_t tasks_init(void)
    122122{
    123123        if (!hash_table_create(&task_hash_table, 0, 0, &task_hash_table_ops)) {
     
    191191}
    192192
    193 int task_intro(task_id_t id)
    194 {
    195         int rc = EOK;
     193errno_t task_intro(task_id_t id)
     194{
     195        errno_t rc = EOK;
    196196
    197197        fibril_rwlock_write_lock(&task_hash_table_lock);
Note: See TracChangeset for help on using the changeset viewer.