Changeset 03daabd in mainline for uspace/srv/sysman/sysman.c


Ignore:
Timestamp:
2019-10-06T19:47:36Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
5be6361
Parents:
9559cf8
git-author:
Matthieu Riolo <matthieu.riolo@…> (2019-09-17 07:50:03)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-10-06 19:47:36)
Message:

Renaming dyn_array to array

The term dyn_array is redunant and has therefore been replaced
with the shorter term array

File:
1 edited

Legend:

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

    r9559cf8 r03daabd  
    366366        job_t *job = job_args->job;
    367367        int flags = job_args->flags;
    368         dyn_array_t job_closure;
    369         dyn_array_initialize(&job_closure, job_t *);
     368        array_t job_closure;
     369        array_initialize(&job_closure, job_t *);
    370370
    371371        if (job_args->callback != NULL) {
     
    402402        job_del_ref(&job);
    403403
    404         dyn_array_foreach(job_closure, job_t *, closure_job) {
     404        array_foreach(job_closure, job_t *, closure_job) {
    405405                job_del_ref(&(*closure_job));
    406406        }
    407         dyn_array_destroy(&job_closure);
     407        array_destroy(&job_closure);
    408408}
    409409
Note: See TracChangeset for help on using the changeset viewer.