llvm.org GIT mirror llvm / 0b5bb3b
Fix 3 MSVC warnings: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' atexit really expects a "void f(void)" function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132061 91177308-0d34-0410-b5e6-96231b3b80d8 Francois Pichet 8 years ago
3 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
2929 /* BBTraceAtExitHandler - When the program exits, just write out any remaining
3030 * data and free the trace buffer.
3131 */
32 static void BBTraceAtExitHandler() {
32 static void BBTraceAtExitHandler(void) {
3333 WriteAndFlushBBTraceData ();
3434 free (ArrayStart);
3535 }
2121 /* EdgeProfAtExitHandler - When the program exits, just write out the profiling
2222 * data.
2323 */
24 static void EdgeProfAtExitHandler() {
24 static void EdgeProfAtExitHandler(void) {
2525 /* Note that if this were doing something more intelligent with the
2626 * instrumentation, we could do some computation here to expand what we
2727 * collected into simple edge profiles. Since we directly count each edge, we
2121 /* OptEdgeProfAtExitHandler - When the program exits, just write out the
2222 * profiling data.
2323 */
24 static void OptEdgeProfAtExitHandler() {
24 static void OptEdgeProfAtExitHandler(void) {
2525 /* Note that, although the array has a counter for each edge, not all
2626 * counters are updated, the ones that are not used are initialised with -1.
2727 * When loading this information the counters with value -1 have to be