diff options
author | hselasky <hselasky@FreeBSD.org> | 2016-04-07 07:52:09 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2016-04-07 07:52:09 +0000 |
commit | 6df5b27586019638a4ecb995e99301bf359397a9 (patch) | |
tree | af92c1f01c2241b12b2a94299555b2f461cafd4f /contrib/netbsd-tests/lib/libc/stdlib/t_getenv.c | |
parent | 206a1c6d9880e4552bd6091a78fd05c882f431c9 (diff) | |
download | FreeBSD-src-6df5b27586019638a4ecb995e99301bf359397a9.zip FreeBSD-src-6df5b27586019638a4ecb995e99301bf359397a9.tar.gz |
MFC r294520:
LinuxKPI atomic fixes:
- Fix implementation of atomic_add_unless(). The atomic_cmpset_int()
function returns a boolean and not the previous value of the atomic
variable.
- The atomic counters should be signed according to Linux.
- Some minor cosmetics and styling while at it.
Reviewed by: alfred @
Sponsored by: Mellanox Technologies
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdlib/t_getenv.c')
0 files changed, 0 insertions, 0 deletions