benchtests: Move iterator declaration into loop header
commit543477f78b9163dc1d74596c726043d7611a8740
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 7 May 2018 15:24:31 +0000 (7 20:54 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 7 May 2018 15:24:31 +0000 (7 20:54 +0530)
treec9b62e33a885fbc8c953804395c878eb1c58ac96
parentffa81c22a3ac0fb75ad9bf2b1c3cdbf9eafa0bc9
benchtests: Move iterator declaration into loop header

This is a minor style change to move the definition of I to its usage
scope instead of at the top of the function.  This is consistent with
glibc style guidelines and more importantly it was getting in the way
of my testing.

* benchtests/bench-memcpy-walk.c (do_test): Move declaration
of I into loop header.
* benchtests/bench-memmove-walk.c (do_test): Likewise.
ChangeLog
benchtests/bench-memcpy-walk.c
benchtests/bench-memmove-walk.c