Changeset c3fa24e in mainline for uspace/lib/c/generic/pio_trace.c


Ignore:
Timestamp:
2019-01-22T16:35:46Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e5ace7d7
Parents:
b51ee38
Message:

Use LIST_INITIALIZER() macro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/pio_trace.c

    rb51ee38 rc3fa24e  
    8181{
    8282        static pio_regions_t regions = {
    83                 .list = {
    84                         .head = { &regions.list.head, &regions.list.head },
    85                 },
     83                .list = LIST_INITIALIZER(regions.list),
    8684                .guard = FIBRIL_RWLOCK_INITIALIZER(regions.guard),
    8785        };
Note: See TracChangeset for help on using the changeset viewer.