summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/profile/GCDAProfiling.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/profile/GCDAProfiling.c')
-rw-r--r--compiler-rt/lib/profile/GCDAProfiling.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/profile/GCDAProfiling.c b/compiler-rt/lib/profile/GCDAProfiling.c
index 138af6ec403..eb8a937f3f2 100644
--- a/compiler-rt/lib/profile/GCDAProfiling.c
+++ b/compiler-rt/lib/profile/GCDAProfiling.c
@@ -92,7 +92,7 @@ static int fd = -1;
/*
* A list of functions to write out the data.
*/
-typedef void (*writeout_fn)();
+typedef void (*writeout_fn)(void);
struct writeout_fn_node {
writeout_fn fn;
@@ -105,7 +105,7 @@ static struct writeout_fn_node *writeout_fn_tail = NULL;
/*
* A list of flush functions that our __gcov_flush() function should call.
*/
-typedef void (*flush_fn)();
+typedef void (*flush_fn)(void);
struct flush_fn_node {
flush_fn fn;
OpenPOWER on IntegriCloud