summaryrefslogtreecommitdiff
path: root/runtime/libprofile/OptimalEdgeProfiling.c
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2011-06-12 15:42:51 +0000
committerDimitry Andric <dim@FreeBSD.org>2011-06-12 15:42:51 +0000
commit56fe8f14099930935e3870e3e823c322a85c1c89 (patch)
treeb3032e51d630e8070e9e08d6641648f195316a80 /runtime/libprofile/OptimalEdgeProfiling.c
parent6b943ff3a3f8617113ecbf611cf0f8957e4e19d2 (diff)
Diffstat (limited to 'runtime/libprofile/OptimalEdgeProfiling.c')
-rw-r--r--runtime/libprofile/OptimalEdgeProfiling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/libprofile/OptimalEdgeProfiling.c b/runtime/libprofile/OptimalEdgeProfiling.c
index 947da532605dd..3a7631b6e83bc 100644
--- a/runtime/libprofile/OptimalEdgeProfiling.c
+++ b/runtime/libprofile/OptimalEdgeProfiling.c
@@ -22,7 +22,7 @@ static unsigned NumElements;
/* 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