extract-word: move start block outside the for loop
authorFilipe Brandenburger <filbranden@google.com>
Wed, 4 Nov 2015 04:13:11 +0000 (20:13 -0800)
committerFilipe Brandenburger <filbranden@google.com>
Fri, 6 Nov 2015 05:19:54 +0000 (21:19 -0800)
commitb85e1c2534ca3b396c2aaa7de384995b42d12e1b
tree4556fcf59428653491ba82b690677946b3c67821
parenta6bff4a7428b9539d85618e3c91fcb60be93f3fa
extract-word: move start block outside the for loop

This block runs once before all the other handling, so move it outside
the main loop and put it in its own loop until it's finished doing its
job.

Tested by confirming `make check` (and particularly test-extract-word)
still passes and by booting a system with binaries including this
commit.
src/basic/extract-word.c