You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2011/05/17 16:26:11 UTC

svn commit: r1104277 - /subversion/trunk/subversion/libsvn_subr/utf.c

Author: stefan2
Date: Tue May 17 14:26:11 2011
New Revision: 1104277

URL: http://svn.apache.org/viewvc?rev=1104277&view=rev
Log:
* subversion/libsvn_subr/utf.c
  (atomic_swap): mark as "should be inlined"

Suggested by: Ivan

Modified:
    subversion/trunk/subversion/libsvn_subr/utf.c

Modified: subversion/trunk/subversion/libsvn_subr/utf.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/utf.c?rev=1104277&r1=1104276&r2=1104277&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/utf.c (original)
+++ subversion/trunk/subversion/libsvn_subr/utf.c Tue May 17 14:26:11 2011
@@ -180,7 +180,7 @@ get_xlate_key(const char *topage,
  * *MEM will not be modified and NEW_VALUE is simply returned to
  * the caller.
  */
-static void*
+static APR_INLINE void*
 atomic_swap(volatile void **mem, void *new_value)
 {
 #if APR_HAS_THREADS