atomic: fix whitespace in previous patch

This commit is contained in:
Eric Blake 2012-08-21 14:27:32 -06:00
parent bf76174bac
commit cd8f8c8de7

View File

@ -52,7 +52,7 @@ VIR_STATIC int virAtomicIntGet(volatile int *atomic)
* (after the set) * (after the set)
*/ */
VIR_STATIC void virAtomicIntSet(volatile int *atomic, VIR_STATIC void virAtomicIntSet(volatile int *atomic,
int newval) int newval)
ATTRIBUTE_NONNULL(1); ATTRIBUTE_NONNULL(1);
/** /**
@ -93,8 +93,8 @@ VIR_STATIC bool virAtomicIntDecAndTest(volatile int *atomic)
* This call acts as a full compiler and hardware memory barrier. * This call acts as a full compiler and hardware memory barrier.
*/ */
VIR_STATIC bool virAtomicIntCompareExchange(volatile int *atomic, VIR_STATIC bool virAtomicIntCompareExchange(volatile int *atomic,
int oldval, int oldval,
int newval) int newval)
ATTRIBUTE_NONNULL(1); ATTRIBUTE_NONNULL(1);
/** /**
@ -107,7 +107,7 @@ VIR_STATIC bool virAtomicIntCompareExchange(volatile int *atomic,
* This call acts as a full compiler and hardware memory barrier. * This call acts as a full compiler and hardware memory barrier.
*/ */
VIR_STATIC int virAtomicIntAdd(volatile int *atomic, VIR_STATIC int virAtomicIntAdd(volatile int *atomic,
int val) int val)
ATTRIBUTE_NONNULL(1); ATTRIBUTE_NONNULL(1);
/** /**
@ -121,7 +121,7 @@ VIR_STATIC int virAtomicIntAdd(volatile int *atomic,
* { tmp = *atomic; *atomic &= val; return tmp; } * { tmp = *atomic; *atomic &= val; return tmp; }
*/ */
VIR_STATIC unsigned int virAtomicIntAnd(volatile unsigned int *atomic, VIR_STATIC unsigned int virAtomicIntAnd(volatile unsigned int *atomic,
unsigned int val) unsigned int val)
ATTRIBUTE_NONNULL(1); ATTRIBUTE_NONNULL(1);
/** /**
@ -135,7 +135,7 @@ VIR_STATIC unsigned int virAtomicIntAnd(volatile unsigned int *atomic,
* This call acts as a full compiler and hardware memory barrier. * This call acts as a full compiler and hardware memory barrier.
*/ */
VIR_STATIC unsigned int virAtomicIntOr(volatile unsigned int *atomic, VIR_STATIC unsigned int virAtomicIntOr(volatile unsigned int *atomic,
unsigned int val) unsigned int val)
ATTRIBUTE_NONNULL(1); ATTRIBUTE_NONNULL(1);
/** /**
@ -149,7 +149,7 @@ VIR_STATIC unsigned int virAtomicIntOr(volatile unsigned int *atomic,
* This call acts as a full compiler and hardware memory barrier. * This call acts as a full compiler and hardware memory barrier.
*/ */
VIR_STATIC unsigned int virAtomicIntXor(volatile unsigned int *atomic, VIR_STATIC unsigned int virAtomicIntXor(volatile unsigned int *atomic,
unsigned int val) unsigned int val)
ATTRIBUTE_NONNULL(1); ATTRIBUTE_NONNULL(1);
# undef VIR_STATIC # undef VIR_STATIC