Fixes build errors/warnings: locfile.c: In function 'locfile_init': locfile.c:21:3: error: 'for' loop initial declarations are only allowed in C99 mode for (int i=0; i<length; i++) { Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>lilik-openwrt-22.03