summaryrefslogtreecommitdiff
path: root/gcc/gthr-single.h
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2008-12-06 13:32:29 +0000
committerBen Elliston <bje@gcc.gnu.org>2008-12-07 00:32:29 +1100
commitdc830217e89393a766baf67a28b19d61e00c5f53 (patch)
treee9b0c4a52e63c82bad43c9037e40f6dc33edf812 /gcc/gthr-single.h
parent6612aaaeeea5df45e30c1a6b53b9711836a4e77c (diff)
downloadgcc-dc830217e89393a766baf67a28b19d61e00c5f53.tar.gz
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
Diffstat (limited to 'gcc/gthr-single.h')
-rw-r--r--gcc/gthr-single.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gthr-single.h b/gcc/gthr-single.h
index 66a9dd86c90..a0a45cb7106 100644
--- a/gcc/gthr-single.h
+++ b/gcc/gthr-single.h
@@ -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;
}