mirror of
git://sourceware.org/git/glibc.git
synced 2026-12-02 19:05:05 +08:00
* sysdeps/powerpc/bits/atomic.h (atomic_exchange): Remove unused
variable. Remove superfluous memory clobber. * include/atomic.h: Syntax braino fix. * posix/tst-nice.c (do_test): Use %m formats instead of printing errno in decimal. Don't bail if niced at start. Just check that nice call bumps the total at all.
This commit is contained in:
+2
-1
@@ -112,7 +112,8 @@
|
||||
|
||||
|
||||
/* Decrement *MEM if it is > 0, and return the old value. */
|
||||
#ifndef atomic_decrement_if_positive(mem) \
|
||||
#ifndef atomic_decrement_if_positive
|
||||
# define atomic_decrement_if_positive(mem) \
|
||||
({ __typeof (*mem) __val; \
|
||||
__typeof (*mem) __oldval; \
|
||||
__typeof (mem) __memp; \
|
||||
|
||||
Reference in New Issue
Block a user