2615. [bug] "__attribute__((unused))" was in the wrong place
for ia64 gcc builds. [RT #19854]
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: atomic.h,v 1.6 2009/02/04 23:48:09 tbox Exp $ */
|
||||
/* $Id: atomic.h,v 1.7 2009/06/24 02:22:50 marka Exp $ */
|
||||
|
||||
#ifndef ISC_ATOMIC_H
|
||||
#define ISC_ATOMIC_H 1
|
||||
@@ -31,10 +31,10 @@
|
||||
* (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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user