Fixed C89 sample file so that it works fine on strict compilers