Remove C old-style function definition. Compiled successfully with C++