remove unused variables
explicitly set C language standard