]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2615. [bug] "__attribute__((unused))" was in the wrong place
authorMark Andrews <marka@isc.org>
Wed, 24 Jun 2009 02:24:13 +0000 (02:24 +0000)
committerMark Andrews <marka@isc.org>
Wed, 24 Jun 2009 02:24:13 +0000 (02:24 +0000)
                        for ia64 gcc builds. [RT #19854]

CHANGES
lib/isc/ia64/include/isc/atomic.h

diff --git a/CHANGES b/CHANGES
index 6a73282a8f1e9be09fd975d01668b0089ff39469..fe7f345003bda7d02b7195800fe93149364d99e0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2615.  [bug]           "__attribute__((unused))" was in the wrong place
+                       for ia64 gcc builds. [RT #19854]
+
 2614.  [port]          win32: 'named -v' should automatically be executed
                        in the foreground. [RT #19844]
 
index 9760cdd7aa765b289a25e2c0e37a0a0c13f3122e..f834c25da6f6d47441ef1b14e2764129b4f76ecb 100644 (file)
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: atomic.h,v 1.2.2.3 2009/02/04 23:46:04 tbox Exp $ */
+/* $Id: atomic.h,v 1.2.2.4 2009/06/24 02:24:13 marka Exp $ */
 
 #ifndef ISC_ATOMIC_H
 #define ISC_ATOMIC_H 1
  * (e.g., 1 and -1)?
  */
 static inline isc_int32_t
-isc_atomic_xadd(isc_int32_t *p, isc_int32_t val)
 #ifdef __GNUC__
 __attribute__ ((unused))
 #endif
+isc_atomic_xadd(isc_int32_t *p, isc_int32_t val)
 {
        isc_int32_t prev, swapped;
 
@@ -57,10 +57,10 @@ __attribute__ ((unused))
  * This routine atomically stores the value 'val' in 'p'.
  */
 static inline void
-isc_atomic_store(isc_int32_t *p, isc_int32_t val)
 #ifdef __GNUC__
 __attribute__ ((unused))
 #endif
+isc_atomic_store(isc_int32_t *p, isc_int32_t val)
 {
        __asm__ volatile(
                "st4.rel %0=%1"
@@ -76,10 +76,10 @@ __attribute__ ((unused))
  * case.
  */
 static inline isc_int32_t
-isc_atomic_cmpxchg(isc_int32_t *p, isc_int32_t cmpval, isc_int32_t val)
 #ifdef __GNUC__
 __attribute__ ((unused))
 #endif
+isc_atomic_cmpxchg(isc_int32_t *p, isc_int32_t cmpval, isc_int32_t val)
 {
        isc_int32_t ret;