X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=runtime%2Flibprofile%2FOptimalEdgeProfiling.c;h=3a7631b6e83bc39a109915469cef81d9440096c8;hb=566fb9fe3ed767be7218fb1608ec6a284067d3b0;hp=eb7887b2aea92ed4b17c8d5b01584d7be30b46f4;hpb=f771dae69aee00a16dbfb7e712bf26ab2b9d9cde;p=oota-llvm.git diff --git a/runtime/libprofile/OptimalEdgeProfiling.c b/runtime/libprofile/OptimalEdgeProfiling.c index eb7887b2aea..3a7631b6e83 100644 --- a/runtime/libprofile/OptimalEdgeProfiling.c +++ b/runtime/libprofile/OptimalEdgeProfiling.c @@ -22,11 +22,11 @@ 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 - * recalculated, it is guranteed that this is possible. + * recalculated, it is guaranteed that this is possible. */ write_profiling_data(OptEdgeInfo, ArrayStart, NumElements); }