gthr-single.h (__gthread_once): Adjust prototype to match all other gthreads models.

* gthr-single.h (__gthread_once): Adjust prototype to match all
	other gthreads models.

From-SVN: r142523
This commit is contained in:
Ben Elliston 2008-12-06 13:32:29 +00:00 committed by Ben Elliston
parent 6612aaaeee
commit dc830217e8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-12-07 Ben Elliston <bje@au.ibm.com>
* gthr-single.h (__gthread_once): Adjust prototype to match all
other gthreads models.
2008-12-06 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.c (override_options): Use CPU_AMDFAM10

View File

@ -216,7 +216,7 @@ __gthread_active_p (void)
}
static inline int
__gthread_once (__gthread_once_t *once UNUSED, void (*func) () UNUSED)
__gthread_once (__gthread_once_t *once UNUSED, void (*func) (void) UNUSED)
{
return 0;
}