Added static keyword in C code