aboutsummaryrefslogtreecommitdiff
path: root/gcc/gthr-win32.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-02-12 19:19:01 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-02-12 19:19:01 +0000
commitd1e51320605493252494f43a62e6048b5b9c6b26 (patch)
treebb69efaa2a8d376889e6ca501bfc5aafd4d9c33a /gcc/gthr-win32.h
parente35b951f52fe3c43ac8bf209e9b0f0574f797c8d (diff)
downloadgcc-d1e51320605493252494f43a62e6048b5b9c6b26.zip
gcc-d1e51320605493252494f43a62e6048b5b9c6b26.tar.gz
gcc-d1e51320605493252494f43a62e6048b5b9c6b26.tar.bz2
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-win32.h')
-rw-r--r--gcc/gthr-win32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gthr-win32.h b/gcc/gthr-win32.h
index 10e6581..9c82217 100644
--- a/gcc/gthr-win32.h
+++ b/gcc/gthr-win32.h
@@ -93,7 +93,7 @@ extern int _CRT_MT;
#endif
static inline int
-__gthread_active_p ()
+__gthread_active_p (void)
{
#ifdef MINGW32_SUPPORTS_MT_EH
return _CRT_MT;
@@ -103,7 +103,7 @@ __gthread_active_p ()
}
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;