warning: ISO C does not allow extra ; outside of a function