from function pointer to void *.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89336
138bc75d-0d04-0410-961f-
82ee72b054a4
+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;
}