removed problem for compiling c file in visual studio

previously we changed c to cpp extension, since code did not compile using visual studio, i looked why we cant compile c files with cpp, it is because function name are changed before calling in cpp,  if we define in header file that functions are c not cpp. then it work.