Style check; change .c files to .cc as the first step of rewriting in C++