Use C89 declaration. Also fix indentation.
Change-Id: Ib974eb32ac95610d0b0eca00ca3b139b388c73bd
Reviewed-on: https://go-review.googlesource.com/c/go/+/363356
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
void gprofCgoTraceback(void *arg) {
// spend some time here so the P is more likely to be retaken.
- for (volatile int i = 0; i < 123456789; i++);
+ volatile int i;
+ for (i = 0; i < 123456789; i++);
}
void CallGoSleep() {
- GoSleep();
+ GoSleep();
}