From: Ulrich Drepper Date: Mon, 29 May 2000 00:59:18 +0000 (+0000) Subject: (compare_and_swap): Return result. X-Git-Tag: glibc-2.16-ports-before-merge~2358 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a07cbd18941f3437723f9ec88a6a392a78aee649;p=thirdparty%2Fglibc.git (compare_and_swap): Return result. --- diff --git a/sysdeps/arm/atomicity.h b/sysdeps/arm/atomicity.h index 01bd64e4650..c1f3b038efa 100644 --- a/sysdeps/arm/atomicity.h +++ b/sysdeps/arm/atomicity.h @@ -81,6 +81,7 @@ compare_and_swap (volatile long int *p, long int oldval, long int newval) : "=&r" (result), "=&r" (tmp) : "r" (p), "r" (newval), "r" (oldval) : "cc", "memory"); + return result; } #endif /* atomicity.h */