Changeset 8591b31 in mainline for uspace/lib
- Timestamp:
- 2018-09-20T16:13:43Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cbc3587
- Parents:
- 9a5ae815
- Location:
- uspace/lib
- Files:
-
- 3 edited
-
c/generic/private/futex.h (modified) (1 diff)
-
c/test/string.c (modified) (1 diff)
-
virtio/virtio.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/private/futex.h
r9a5ae815 r8591b31 41 41 #include <libc.h> 42 42 #include <time.h> 43 #include <fibril.h> 43 44 44 45 typedef struct futex { 45 46 volatile atomic_int val; 46 47 #ifdef CONFIG_DEBUG_FUTEX 47 void *owner; 48 // FIXME: Should be _Atomic(fibril_t *) 49 fibril_t *owner; 48 50 #endif 49 51 } futex_t; -
uspace/lib/c/test/string.c
r9a5ae815 r8591b31 33 33 #include <pcut/pcut.h> 34 34 35 #ifndef __clang__ 35 36 #pragma GCC diagnostic ignored "-Wstringop-truncation" 36 37 #pragma GCC diagnostic ignored "-Wstringop-overflow" 38 #endif 37 39 38 40 PCUT_INIT; -
uspace/lib/virtio/virtio.c
r9a5ae815 r8591b31 127 127 for (unsigned i = 0; i < size; i++) { 128 128 virtio_virtq_desc_set(vdev, num, i, 0, 0, 129 VIRTQ_DESC_F_NEXT, (i + 1 == size) ? -1U: i + 1);129 VIRTQ_DESC_F_NEXT, (i + 1 == size) ? 0xffffu : i + 1); 130 130 } 131 131 *head = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
