Fix C++ism in C file