Modified RBC_CPP.cpp to plain C.