summaryrefslogtreecommitdiff
path: root/gcc/gthr-single.h
diff options
context:
space:
mode:
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;
}