Ignore:
Timestamp:
2010-10-10T15:51:03Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f99c191
Parents:
e9460aa
Message:

Use the standard supported initializers for fibril mutexes and rwlocks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/net/socket_client.c

    re9460aa re721462  
    177177//      .last_id = 0,
    178178        .sockets = NULL,
    179         .lock = {
    180                 .readers = 0,
    181                 .writers = 0,
    182                 .waiters = {
    183                         .prev = &socket_globals.lock.waiters,   /* XXX */
    184                         .next = &socket_globals.lock.waiters    /* XXX */
    185                 }
    186         }
     179        .lock = FIBRIL_RWLOCK_INITIALIZER(socket_globals.lock)
    187180};
    188181
Note: See TracChangeset for help on using the changeset viewer.