test.c: Fixes some bugs.
Enforce C89.