diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-02-12 19:19:01 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-02-12 19:19:01 +0000 |
commit | d1e51320605493252494f43a62e6048b5b9c6b26 (patch) | |
tree | bb69efaa2a8d376889e6ca501bfc5aafd4d9c33a /gcc/gthr-solaris.h | |
parent | e35b951f52fe3c43ac8bf209e9b0f0574f797c8d (diff) | |
download | gcc-d1e51320605493252494f43a62e6048b5b9c6b26.tar.gz |
crtstuff.c (__do_global_ctors_aux, [...]): Add prototype argument.
* crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
__dereg_frame_dtor): Add prototype argument.
* gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
* gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
* gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
* gthr-vxworks.h (__gthread_once): Likewise.
* gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
From-SVN: r31945
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; |