diff options
| author | Doug Barton <dougb@FreeBSD.org> | 2009-06-25 19:52:45 +0000 |
|---|---|---|
| committer | Doug Barton <dougb@FreeBSD.org> | 2009-06-25 19:52:45 +0000 |
| commit | 9d0520c4b2cb8030368c65d7eec349fdf70f79d8 (patch) | |
| tree | f5b7716dfa0a57cae1b41ed6567edc0fa25c4bfd /contrib/bind9/lib | |
| parent | 91292be73f20f9b21fc695114721fd6ef4693e0c (diff) | |
Notes
Diffstat (limited to 'contrib/bind9/lib')
| -rw-r--r-- | contrib/bind9/lib/isc/ia64/include/isc/atomic.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/bind9/lib/isc/ia64/include/isc/atomic.h b/contrib/bind9/lib/isc/ia64/include/isc/atomic.h index 847c65d1ab1e..275741bee333 100644 --- a/contrib/bind9/lib/isc/ia64/include/isc/atomic.h +++ b/contrib/bind9/lib/isc/ia64/include/isc/atomic.h @@ -31,6 +31,9 @@ * (e.g., 1 and -1)? */ static inline isc_int32_t +#ifdef __GNUC__ +__attribute__ ((unused)) +#endif isc_atomic_xadd(isc_int32_t *p, isc_int32_t val) { isc_int32_t prev, swapped; @@ -54,6 +57,9 @@ isc_atomic_xadd(isc_int32_t *p, isc_int32_t val) * This routine atomically stores the value 'val' in 'p'. */ static inline void +#ifdef __GNUC__ +__attribute__ ((unused)) +#endif isc_atomic_store(isc_int32_t *p, isc_int32_t val) { __asm__ volatile( @@ -70,6 +76,9 @@ isc_atomic_store(isc_int32_t *p, isc_int32_t val) * case. */ static inline isc_int32_t +#ifdef __GNUC__ +__attribute__ ((unused)) +#endif isc_atomic_cmpxchg(isc_int32_t *p, isc_int32_t cmpval, isc_int32_t val) { isc_int32_t ret; |
