apps/examples/lis3dsh_reader:  Convert a forbidden c99 construct to c89 style.
@@ -65,10 +65,11 @@ int lis3dsh_reader_main(int argc, FAR char *argv[])
int16_t y;
int16_t z;
} acc_data;
+ int i;
acc = fopen("/dev/acc0", "r");
- for (uint8_t i = 0; 1; i++)
+ for (i = 0; 1; i++)
{
fread( &acc_data, 6, 1, acc );
printf("x: %4d y: %4d z: %4d \r",
