* gthr-posix.h (__gthread_active_p): Use __extension__ around cast
from function pointer to void *.
From-SVN: r89336
+2004-10-20 Mark Mitchell <mark@codesourcery.com>
+
+ * gthr-posix.h (__gthread_active_p): Use __extension__ around cast
+ from function pointer to void *.
+
2004-10-20 Kaz Kojima <kkojima@gcc.gnu.org>
PR target/18032
static inline int
__gthread_active_p (void)
{
- static void *const __gthread_active_ptr = (void *) &pthread_create;
+ static void *const __gthread_active_ptr
+ = __extension__ (void *) &pthread_create;
return __gthread_active_ptr != 0;
}