* 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:
Roland McGrath
2003-03-20 11:40:51 +00:00
parent 41f3e892d8
commit 2ff16e041a
3 changed files with 15 additions and 3 deletions
+2 -1
View File
@@ -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; \