#if defined(AO_HAVE_test_and_set_full) && !defined(AO_HAVE_nop_full)
AO_INLINE void
- AO_nop_full()
+ AO_nop_full(void)
{
AO_TS_t dummy = AO_TS_INITIALIZER;
AO_test_and_set_full(&dummy);
#if defined(AO_HAVE_load) && defined(AO_HAVE_nop_full) && \
!defined(AO_HAVE_load_acquire)
AO_INLINE AO_t
- AO_load_acquire(volatile AO_t *addr)
+ AO_load_acquire(const volatile AO_t *addr)
{
AO_t result = AO_load(addr);
/* Acquire barrier would be useless, since the load could be delayed */
#if defined(AO_HAVE_load) && defined(AO_HAVE_nop_read) && \
!defined(AO_HAVE_load_read)
AO_INLINE AO_t
- AO_load_read(volatile AO_t *addr)
+ AO_load_read(const volatile AO_t *addr)
{
AO_t result = AO_load(addr);
/* Acquire barrier would be useless, since the load could be delayed */
&& !defined(AO_HAVE_compare_and_swap_double_acquire)
AO_INLINE int
AO_compare_and_swap_double_acquire(volatile AO_double_t *addr,
- AO_t o1, AO_t o2,
+ AO_t o1,
AO_t n1, AO_t n2)
{
int result = AO_compare_and_swap_double(addr, o1, n1, n2);