* gthr-single.h (__gthread_once): Adjust prototype to match all
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Dec 2008 13:32:29 +0000 (13:32 +0000)
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Dec 2008 13:32:29 +0000 (13:32 +0000)
other gthreads models.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142523 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gthr-single.h

index 9e37e7f..984e8ba 100644 (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
index 66a9dd8..a0a45cb 100644 (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;
 }