diff options
Diffstat (limited to 'gcc/gthr-solaris.h')
-rw-r--r-- | gcc/gthr-solaris.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/gthr-solaris.h b/gcc/gthr-solaris.h index b76338af864..0c240608135 100644 --- a/gcc/gthr-solaris.h +++ b/gcc/gthr-solaris.h @@ -66,7 +66,7 @@ typedef mutex_t __gthread_mutex_t; static void *__gthread_active_ptr = &thr_create; static inline int -__gthread_active_p () +__gthread_active_p (void) { return __gthread_active_ptr != 0; } @@ -74,7 +74,7 @@ __gthread_active_p () #else /* not SUPPORTS_WEAK */ static inline int -__gthread_active_p () +__gthread_active_p (void) { return 1; } @@ -82,7 +82,7 @@ __gthread_active_p () #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 -1; |