diff options
author | ed <ed@FreeBSD.org> | 2011-12-26 23:33:41 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-12-26 23:33:41 +0000 |
commit | b0b064ff30f64fde4b2fc99c2dc6c840ecb6a95c (patch) | |
tree | bd7cf43d45b6d4cbd9a9b5b8dfc6873ad3fd16f0 /usr.sbin/uhsoctl | |
parent | 6f5f2f5fd7ad53b95e3fef6977942edeb70fc1e4 (diff) | |
download | FreeBSD-src-b0b064ff30f64fde4b2fc99c2dc6c840ecb6a95c.zip FreeBSD-src-b0b064ff30f64fde4b2fc99c2dc6c840ecb6a95c.tar.gz |
Fix some bugs in <stdatomic.h>.
- Make atomic_init() work for GCC, as assigning to structs doesn't work.
- Fix misplaced parenthesis in atomic_is_lock_free() for GCC.
- Make atomic_compare_exchange_strong() for GCC return the proper
boolean value, whether object == expected.
- Fix argument passing in atomic_exchange_explicit() for GCC.
Diffstat (limited to 'usr.sbin/uhsoctl')
0 files changed, 0 insertions, 0 deletions