summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2009-06-01 06:31:04 +0000
committerdougb <dougb@FreeBSD.org>2009-06-01 06:31:04 +0000
commit8ad378b6e2b929426fb8d38a82679d2cf632e2eb (patch)
tree27274ec0c23a83a7e004c645192c50e202f51f2a /contrib
parent41ce4c9579c845706bc67cf98474d7f0b3deb1de (diff)
downloadFreeBSD-src-8ad378b6e2b929426fb8d38a82679d2cf632e2eb.zip
FreeBSD-src-8ad378b6e2b929426fb8d38a82679d2cf632e2eb.tar.gz
Local hack to get the build going again while ISC works on a more
permanent solution for 9.6.1-release. "My suggestion is to remove the whole attribute construct. It only suppresses a warning when a function is unused. In this case the function is defined as inline, so it's not causing a warning when not used." Submitted by: marcel
Diffstat (limited to 'contrib')
-rw-r--r--contrib/bind9/lib/isc/ia64/include/isc/atomic.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/contrib/bind9/lib/isc/ia64/include/isc/atomic.h b/contrib/bind9/lib/isc/ia64/include/isc/atomic.h
index 4c46797..847c65d 100644
--- a/contrib/bind9/lib/isc/ia64/include/isc/atomic.h
+++ b/contrib/bind9/lib/isc/ia64/include/isc/atomic.h
@@ -32,9 +32,6 @@
*/
static inline isc_int32_t
isc_atomic_xadd(isc_int32_t *p, isc_int32_t val)
-#ifdef __GNUC__
-__attribute__ ((unused))
-#endif
{
isc_int32_t prev, swapped;
@@ -58,9 +55,6 @@ __attribute__ ((unused))
*/
static inline void
isc_atomic_store(isc_int32_t *p, isc_int32_t val)
-#ifdef __GNUC__
-__attribute__ ((unused))
-#endif
{
__asm__ volatile(
"st4.rel %0=%1"
@@ -77,9 +71,6 @@ __attribute__ ((unused))
*/
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_int32_t ret;
OpenPOWER on IntegriCloud