aboutsummaryrefslogtreecommitdiff
path: root/runtime/libprofile/EdgeProfiling.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/libprofile/EdgeProfiling.c')
-rw-r--r--runtime/libprofile/EdgeProfiling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/libprofile/EdgeProfiling.c b/runtime/libprofile/EdgeProfiling.c
index 4a68a086fbce..f19e188f0d2b 100644
--- a/runtime/libprofile/EdgeProfiling.c
+++ b/runtime/libprofile/EdgeProfiling.c
@@ -22,7 +22,7 @@ static unsigned NumElements;
/* EdgeProfAtExitHandler - When the program exits, just write out the profiling
* data.
*/
-static void EdgeProfAtExitHandler() {
+static void EdgeProfAtExitHandler(void) {
/* Note that if this were doing something more intelligent with the
* instrumentation, we could do some computation here to expand what we
* collected into simple edge profiles. Since we directly count each edge, we