-/* Threads compatibily routines for libgcc2. */
+/* Threads compatibility routines for libgcc2. */
/* Compile this one with gcc. */
/* Copyright (C) 1997 Free Software Foundation, Inc.
static void *__gthread_active_ptr = &pthread_create;
static inline int
-__gthread_active_p ()
+__gthread_active_p (void)
{
return __gthread_active_ptr != 0;
}
#else /* not SUPPORTS_WEAK */
static inline int
-__gthread_active_p ()
+__gthread_active_p (void)
{
return 1;
}
#endif /* SUPPORTS_WEAK */
static inline int
-__gthread_once (__gthread_once_t *once, void (*func) ())
+__gthread_once (__gthread_once_t *once, void (*func) (void))
{
if (__gthread_active_p ())
return pthread_once (once, func);