Changeset 8591b31 in mainline for uspace/lib/c/generic/private/futex.h


Ignore:
Timestamp:
2018-09-20T16:13:43Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cbc3587
Parents:
9a5ae815
Message:

Fix most clang issues

Build error in futex.c remains because the proper solution of using
type _Atomic(fibril_t *) can't be parsed by sycek.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/private/futex.h

    r9a5ae815 r8591b31  
    4141#include <libc.h>
    4242#include <time.h>
     43#include <fibril.h>
    4344
    4445typedef struct futex {
    4546        volatile atomic_int val;
    4647#ifdef CONFIG_DEBUG_FUTEX
    47         void *owner;
     48        // FIXME: Should be _Atomic(fibril_t *)
     49        fibril_t *owner;
    4850#endif
    4951} futex_t;
Note: See TracChangeset for help on using the changeset viewer.