diff options
author | Alex Lorenz <arphaman@gmail.com> | 2017-08-31 15:51:23 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2017-08-31 15:51:23 +0000 |
commit | 907e59854ac144ef0760d4c40ca3359481d511a1 (patch) | |
tree | 9b6d05a71bad455288e18b0cd45b72491afa516d /lib/profile/GCDAProfiling.c | |
parent | 72a53283924a94115e513ffdf7a11582b60bf4b1 (diff) |
Revert r312240
The buildbots have shown that -Wstrict-prototypes behaves differently in GCC
and Clang so we should keep it disabled until Clang follows GCC's behaviour
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@312246 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/GCDAProfiling.c')
-rw-r--r-- | lib/profile/GCDAProfiling.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/profile/GCDAProfiling.c b/lib/profile/GCDAProfiling.c index eb8a937f3..138af6ec4 100644 --- a/lib/profile/GCDAProfiling.c +++ b/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)(void); +typedef void (*writeout_fn)(); 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)(void); +typedef void (*flush_fn)(); struct flush_fn_node { flush_fn fn; |