[SystemZ] Add test missing from r186148
[oota-llvm.git] / runtime / libprofile / OptimalEdgeProfiling.c
index eb7887b2aea92ed4b17c8d5b01584d7be30b46f4..3a7631b6e83bc39a109915469cef81d9440096c8 100644 (file)
@@ -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);
 }