Fix 3 MSVC warnings:
'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
atexit really expects a "void f(void)" function.
llvm-svn: 132061
diff --git a/llvm/runtime/libprofile/OptimalEdgeProfiling.c b/llvm/runtime/libprofile/OptimalEdgeProfiling.c
index 947da53..3a7631b 100644
--- a/llvm/runtime/libprofile/OptimalEdgeProfiling.c
+++ b/llvm/runtime/libprofile/OptimalEdgeProfiling.c
@@ -22,7 +22,7 @@
/* OptEdgeProfAtExitHandler - When the program exits, just write out the
* profiling data.
*/
-static void OptEdgeProfAtExitHandler() {
+static void OptEdgeProfAtExitHandler(void) {
/* Note that, although the array has a counter for each edge, not all
* counters are updated, the ones that are not used are initialised with -1.
* When loading this information the counters with value -1 have to be