summaryrefslogtreecommitdiffstats
path: root/runtime/libprofile/BasicBlockTracing.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/libprofile/BasicBlockTracing.c')
-rw-r--r--runtime/libprofile/BasicBlockTracing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/libprofile/BasicBlockTracing.c b/runtime/libprofile/BasicBlockTracing.c
index dbe81e3..0815e2e 100644
--- a/runtime/libprofile/BasicBlockTracing.c
+++ b/runtime/libprofile/BasicBlockTracing.c
@@ -30,7 +30,7 @@ static void WriteAndFlushBBTraceData () {
/* BBTraceAtExitHandler - When the program exits, just write out any remaining
* data and free the trace buffer.
*/
-static void BBTraceAtExitHandler() {
+static void BBTraceAtExitHandler(void) {
WriteAndFlushBBTraceData ();
free (ArrayStart);
}
OpenPOWER on IntegriCloud