-Wall for gcc for testing
remove unused variables
remove unused function declarations